Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.004729/0.004732, allocations: 102 kB / 15.73 MB, free: 6.035 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.001189/0.001189, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7354/0.7354, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 62.98 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1261, allocations: 80.93 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005771/0.1319, allocations: 4.916 MB / 0.6689 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4387/0.5706, allocations: 150.8 MB / 0.8162 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005855/0.5712, allocations: 18.59 kB / 0.8162 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.5717, allocations: 192.2 kB / 0.8164 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.573, allocations: 0.5638 MB / 0.817 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5746, allocations: 0.9258 MB / 0.8179 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.5756, allocations: 1.554 MB / 0.8194 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.5767, allocations: 1.15 MB / 0.8205 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.5774, allocations: 0.6871 MB / 0.8212 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.578, allocations: 0.7276 MB / 0.8219 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.5783, allocations: 191 kB / 0.8221 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.5793, allocations: 0.549 MB / 0.8226 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.5797, allocations: 440.2 kB / 0.823 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.5804, allocations: 0.8112 MB / 0.8238 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.5831, allocations: 2.318 MB / 0.8261 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5831, allocations: 0 / 0.8261 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5831, allocations: 0 / 0.8261 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.5832, allocations: 0 / 0.8261 GB, free: 2.672 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002939/0.5861, allocations: 1.819 MB / 0.8279 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5862, allocations: 10.45 kB / 0.8279 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.5864, allocations: 218.3 kB / 0.8281 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.5874, allocations: 249.2 kB / 0.8283 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5886, allocations: 0.9214 MB / 0.8292 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5887, allocations: 139.3 kB / 0.8293 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.5889, allocations: 144.7 kB / 0.8295 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.5909, allocations: 1.466 MB / 0.8309 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.5909, allocations: 0 / 0.8309 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.5911, allocations: 56.88 kB / 0.831 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.5911, allocations: 39.28 kB / 0.831 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5932, allocations: 1.493 MB / 0.8325 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.5982, allocations: 3.88 MB / 0.8362 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.5996, allocations: 0.9117 MB / 0.8371 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.6002, allocations: 361.8 kB / 0.8375 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.6003, allocations: 42.89 kB / 0.8375 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000845/0.6011, allocations: 0.5437 MB / 0.8381 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 1.983e-06/0.6011, allocations: 0 / 0.8381 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.003047/0.6042, allocations: 1.378 MB / 0.8394 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.6043, allocations: 190.7 kB / 0.8396 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.6051, allocations: 0.7616 MB / 0.8403 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.6051, allocations: 41.98 kB / 0.8404 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.6055, allocations: 0.5777 MB / 0.8409 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.6057, allocations: 308.9 kB / 0.8412 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.6059, allocations: 181.9 kB / 0.8414 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.606, allocations: 341.6 kB / 0.8417 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.6066, allocations: 310 kB / 0.842 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.6072, allocations: 431.1 kB / 0.8424 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.6084, allocations: 0.7369 MB / 0.8432 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6084, allocations: 0 / 0.8432 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001946/0.6104, allocations: 0.9759 MB / 0.8441 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6104, allocations: 7.812 kB / 0.8441 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6104, allocations: 4 kB / 0.8441 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.611, allocations: 85.36 kB / 0.8442 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.6117, allocations: 193.9 kB / 0.8444 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.6136, allocations: 1.641 MB / 0.846 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.6142, allocations: 104 kB / 0.8461 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.6143, allocations: 36.16 kB / 0.8461 GB, free: 4.461 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0004051/0.6147, allocations: 327.4 kB / 0.8464 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6149, allocations: 98.77 kB / 0.8465 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.6175, allocations: 1.284 MB / 0.8478 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6176, allocations: 11.94 kB / 0.8478 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6176, allocations: 4 kB / 0.8478 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6176, allocations: 3.984 kB / 0.8478 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.6211, allocations: 2.497 MB / 0.8502 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6211, allocations: 0 / 0.8502 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.6219, allocations: 187.8 kB / 0.8504 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.6223, allocations: 72.72 kB / 0.8505 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.6223, allocations: 23.98 kB / 0.8505 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.624, allocations: 1.678 MB / 0.8521 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.624, allocations: 0 / 0.8521 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.626, allocations: 1.119 MB / 0.8532 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.6264, allocations: 315.5 kB / 0.8535 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6265, allocations: 27.94 kB / 0.8536 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.6272, allocations: 59.94 kB / 0.8536 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6274, allocations: 76.27 kB / 0.8537 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.6274, allocations: 35.98 kB / 0.8537 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006149/0.6281, allocations: 0.5654 MB / 0.8543 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6281, allocations: 0 / 0.8543 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000849/0.6289, allocations: 398.5 kB / 0.8547 GB, free: 11.45 MB / 0.6231 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.003334/0.6323, allocations: 2.163 MB / 0.8568 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.6339, allocations: 0.9373 MB / 0.8577 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6339, allocations: 4 kB / 0.8577 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.6348, allocations: 0.5782 MB / 0.8583 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.636, allocations: 310.9 kB / 0.8586 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.6478, allocations: 7.896 MB / 0.8663 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.6485, allocations: 1.169 MB / 0.8674 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007916/0.6493, allocations: 291.8 kB / 0.8677 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.65, allocations: 0.5539 MB / 0.8682 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.65, allocations: 0 / 0.8682 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.171/4.821, allocations: 25.7 MB / 0.8933 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/18.32, allocations: 11.78 kB / 0.8933 GB, free: 4.113 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)