Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 103.8 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002304/0.002304, allocations: 191.5 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4155, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004616/0.4201, allocations: 4.111 MB / 0.6682 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.5812, allocations: 150.5 MB / 0.8151 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/0.5822, allocations: 15.94 kB / 0.8151 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.583, allocations: 166.5 kB / 0.8153 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.5857, allocations: 484.3 kB / 0.8157 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.5885, allocations: 0.7848 MB / 0.8165 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.5901, allocations: 1.164 MB / 0.8176 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.5914, allocations: 0.606 MB / 0.8182 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.5922, allocations: 434.5 kB / 0.8186 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.5931, allocations: 434 kB / 0.8191 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002849/0.5934, allocations: 104 kB / 0.8192 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.5946, allocations: 471.6 kB / 0.8196 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.595, allocations: 275 kB / 0.8199 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.5956, allocations: 497.3 kB / 0.8203 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.5978, allocations: 1.464 MB / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5978, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5978, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.5979, allocations: 8 kB / 0.8218 GB, free: 15.57 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002209/0.6001, allocations: 1.318 MB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6001, allocations: 8.031 kB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.6003, allocations: 127 kB / 0.8232 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.6012, allocations: 179.5 kB / 0.8234 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6022, allocations: 0.7265 MB / 0.8241 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.6022, allocations: 62 kB / 0.8241 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/0.6023, allocations: 72 kB / 0.8242 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6036, allocations: 0.8559 MB / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6037, allocations: 0 / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/0.6037, allocations: 32 kB / 0.8251 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.6038, allocations: 20 kB / 0.8251 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6053, allocations: 1.054 MB / 0.8261 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.6086, allocations: 2.316 MB / 0.8284 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.6099, allocations: 0.7107 MB / 0.8291 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.6103, allocations: 266.4 kB / 0.8293 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.6104, allocations: 32.67 kB / 0.8294 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/0.6111, allocations: 419.2 kB / 0.8298 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/0.6111, allocations: 0 / 0.8298 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.00282/0.6139, allocations: 1.065 MB / 0.8308 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6141, allocations: 188.6 kB / 0.831 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.6148, allocations: 0.5862 MB / 0.8315 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.6148, allocations: 37.7 kB / 0.8316 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.6151, allocations: 380.2 kB / 0.8319 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.6153, allocations: 236.6 kB / 0.8322 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.6155, allocations: 130.3 kB / 0.8323 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6157, allocations: 378.8 kB / 0.8327 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.6162, allocations: 213.2 kB / 0.8329 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.6167, allocations: 322.7 kB / 0.8332 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6177, allocations: 0.5121 MB / 0.8337 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6178, allocations: 15.88 kB / 0.8337 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001798/0.6196, allocations: 0.7119 MB / 0.8344 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6196, allocations: 4 kB / 0.8344 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6196, allocations: 0 / 0.8344 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.6202, allocations: 80.84 kB / 0.8345 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.6208, allocations: 139.8 kB / 0.8346 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.623, allocations: 1.623 MB / 0.8362 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.6235, allocations: 83.42 kB / 0.8363 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.6236, allocations: 27.98 kB / 0.8363 GB, free: 176 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.624, allocations: 243.3 kB / 0.8365 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.6241, allocations: 83.06 kB / 0.8366 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.6262, allocations: 0.9588 MB / 0.8375 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6263, allocations: 8 kB / 0.8375 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6263, allocations: 4 kB / 0.8375 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6263, allocations: 3.984 kB / 0.8375 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.6272, allocations: 0.8177 MB / 0.8383 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6272, allocations: 3.938 kB / 0.8383 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.6278, allocations: 139.8 kB / 0.8385 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.6283, allocations: 76.78 kB / 0.8386 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.6283, allocations: 15.98 kB / 0.8386 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6302, allocations: 1.67 MB / 0.8402 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6303, allocations: 0 / 0.8402 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.632, allocations: 0.8303 MB / 0.841 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.6324, allocations: 251.8 kB / 0.8413 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6325, allocations: 16 kB / 0.8413 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.6331, allocations: 58.12 kB / 0.8413 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6332, allocations: 56.92 kB / 0.8414 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.6333, allocations: 27.98 kB / 0.8414 GB, free: 10.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005118/0.6338, allocations: 431 kB / 0.8418 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6338, allocations: 0 / 0.8418 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007229/0.6345, allocations: 283.3 kB / 0.8421 GB, free: 9.977 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00331/0.6378, allocations: 1.867 MB / 0.8439 GB, free: 8.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.6393, allocations: 0.7121 MB / 0.8446 GB, free: 7.531 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6393, allocations: 4.188 kB / 0.8446 GB, free: 7.527 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.6401, allocations: 476.3 kB / 0.8451 GB, free: 7.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/0.6411, allocations: 295.7 kB / 0.8453 GB, free: 6.781 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/0.6508, allocations: 5.739 MB / 0.8509 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.6515, allocations: 1.002 MB / 0.8519 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007825/0.6523, allocations: 250.1 kB / 0.8522 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.6528, allocations: 339.3 kB / 0.8525 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.6528, allocations: 0 / 0.8525 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/1.005, allocations: 19.64 MB / 0.8717 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.48, allocations: 3.281 kB / 0.8717 GB, free: 190.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)