Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_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.00612/0.00612, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001714/0.001714, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 59.91 kB / 0.5808 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3026, allocations: 80.2 MB / 0.6592 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00445/0.3071, allocations: 4.501 MB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.461, allocations: 150.6 MB / 0.8107 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008711/0.4619, allocations: 23.88 kB / 0.8107 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.4626, allocations: 178.3 kB / 0.8109 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.4642, allocations: 0.4895 MB / 0.8113 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.4661, allocations: 0.8222 MB / 0.8121 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.4674, allocations: 1.324 MB / 0.8134 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.4685, allocations: 0.9126 MB / 0.8143 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.4691, allocations: 0.5293 MB / 0.8148 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.4696, allocations: 0.5793 MB / 0.8154 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.4698, allocations: 140 kB / 0.8155 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.4706, allocations: 0.5035 MB / 0.816 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.4709, allocations: 342.9 kB / 0.8164 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.4714, allocations: 0.6488 MB / 0.817 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4732, allocations: 1.847 MB / 0.8188 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4732, allocations: 0 / 0.8188 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4732, allocations: 3.938 kB / 0.8188 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.4733, allocations: 0 / 0.8188 GB, free: 2.109 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002222/0.4755, allocations: 1.629 MB / 0.8204 GB, free: 436 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.4755, allocations: 8.031 kB / 0.8204 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.4757, allocations: 177.5 kB / 0.8206 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.4766, allocations: 219.8 kB / 0.8208 GB, free: 20 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4777, allocations: 0.8409 MB / 0.8216 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.4778, allocations: 86.3 kB / 0.8217 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4779, allocations: 115.9 kB / 0.8218 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4796, allocations: 1.138 MB / 0.8229 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.4797, allocations: 0 / 0.8229 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.4798, allocations: 52 kB / 0.823 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4798, allocations: 28 kB / 0.823 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.4817, allocations: 1.234 MB / 0.8242 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.4857, allocations: 2.985 MB / 0.8271 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4871, allocations: 0.7654 MB / 0.8278 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.4876, allocations: 294.7 kB / 0.8281 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/0.4876, allocations: 32.67 kB / 0.8282 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007413/0.4884, allocations: 459.4 kB / 0.8286 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 1.884e-06/0.4884, allocations: 3.938 kB / 0.8286 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.002773/0.4912, allocations: 1.132 MB / 0.8297 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4913, allocations: 196.5 kB / 0.8299 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.4921, allocations: 0.6882 MB / 0.8306 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.4922, allocations: 45.7 kB / 0.8306 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.4925, allocations: 0.5045 MB / 0.8311 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.4927, allocations: 273.7 kB / 0.8314 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.4929, allocations: 134.6 kB / 0.8315 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4931, allocations: 341.9 kB / 0.8318 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.4936, allocations: 233.9 kB / 0.832 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.4941, allocations: 350.5 kB / 0.8324 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.4951, allocations: 0.576 MB / 0.8329 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4952, allocations: 0 / 0.8329 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001763/0.4969, allocations: 0.8024 MB / 0.8337 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4969, allocations: 7.938 kB / 0.8337 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.497, allocations: 0 / 0.8337 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.4975, allocations: 84.86 kB / 0.8338 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.4981, allocations: 147.8 kB / 0.8339 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.5001, allocations: 1.63 MB / 0.8355 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.5006, allocations: 91.48 kB / 0.8356 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.5007, allocations: 27.98 kB / 0.8357 GB, free: 272 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 (84): * Single equations (assignments): 83 * 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.0003681/0.5011, allocations: 285.7 kB / 0.8359 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5012, allocations: 91.38 kB / 0.836 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.5035, allocations: 1.031 MB / 0.837 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5035, allocations: 11.98 kB / 0.837 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.5035, allocations: 0 / 0.837 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5035, allocations: 3.984 kB / 0.837 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5045, allocations: 0.9816 MB / 0.838 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5046, allocations: 0 / 0.838 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.5051, allocations: 147.8 kB / 0.8381 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.5055, allocations: 76.78 kB / 0.8382 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.5056, allocations: 15.98 kB / 0.8382 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.5074, allocations: 1.658 MB / 0.8398 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5074, allocations: 3.984 kB / 0.8398 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5092, allocations: 0.8931 MB / 0.8407 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.5096, allocations: 272.1 kB / 0.841 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5097, allocations: 23.98 kB / 0.841 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.5102, allocations: 55.95 kB / 0.8411 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5103, allocations: 61.05 kB / 0.8411 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.5104, allocations: 35.97 kB / 0.8411 GB, free: 10.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005755/0.511, allocations: 499 kB / 0.8416 GB, free: 9.898 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.511, allocations: 0 / 0.8416 GB, free: 9.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006735/0.5117, allocations: 338.9 kB / 0.8419 GB, free: 9.566 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 (89): * Single equations (assignments): 86 * 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.003646/0.5153, allocations: 1.952 MB / 0.8439 GB, free: 7.801 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.5168, allocations: 0.7728 MB / 0.8446 GB, free: 7.016 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5168, allocations: 4 kB / 0.8446 GB, free: 7.012 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.5176, allocations: 0.4885 MB / 0.8451 GB, free: 6.512 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5187, allocations: 310.1 kB / 0.8454 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5293, allocations: 6.687 MB / 0.8519 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.53, allocations: 1.09 MB / 0.853 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006682/0.5306, allocations: 258.9 kB / 0.8532 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.5312, allocations: 451.2 kB / 0.8537 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of SimCode: time 2.9e-07/0.5313, allocations: 0 / 0.8537 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8499/1.381, allocations: 21.9 MB / 0.875 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.45, allocations: 2.906 kB / 0.875 GB, free: 192.3 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)