Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_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.0007643/0.0007643, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004922/0.004922, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.19/1.19, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6881/0.6881, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 16.73 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3324, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004362/0.3368, allocations: 4.491 MB / 0.5881 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.141/0.4778, allocations: 146.9 MB / 0.7316 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.4784, allocations: 19.94 kB / 0.7316 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.4789, allocations: 154.8 kB / 0.7317 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.48, allocations: 472.6 kB / 0.7322 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.4815, allocations: 0.8204 MB / 0.733 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.4827, allocations: 1.44 MB / 0.7344 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4838, allocations: 1.089 MB / 0.7354 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.4843, allocations: 433.5 kB / 0.7359 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.4848, allocations: 482.5 kB / 0.7363 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.4849, allocations: 28 kB / 0.7363 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.4855, allocations: 375.6 kB / 0.7367 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.4857, allocations: 238.7 kB / 0.7369 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.4861, allocations: 0.6031 MB / 0.7375 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.4877, allocations: 2.087 MB / 0.7396 GB, free: 252 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4877, allocations: 0 / 0.7396 GB, free: 252 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4877, allocations: 0 / 0.7396 GB, free: 252 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.4877, allocations: 3.938 kB / 0.7396 GB, free: 248 kB / 0.5606 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.00229/0.49, allocations: 1.488 MB / 0.741 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4901, allocations: 12.03 kB / 0.741 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.4903, allocations: 215.6 kB / 0.7412 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.4912, allocations: 254.8 kB / 0.7415 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4923, allocations: 0.8953 MB / 0.7424 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4925, allocations: 140.7 kB / 0.7425 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.4926, allocations: 144 kB / 0.7426 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.4948, allocations: 1.469 MB / 0.7441 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4949, allocations: 4 kB / 0.7441 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.495, allocations: 67.88 kB / 0.7441 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.495, allocations: 36 kB / 0.7442 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.4972, allocations: 1.502 MB / 0.7456 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.5025, allocations: 3.982 MB / 0.7495 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.504, allocations: 0.9193 MB / 0.7504 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.5046, allocations: 375.7 kB / 0.7508 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.5046, allocations: 36.94 kB / 0.7508 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009074/0.5056, allocations: 0.5553 MB / 0.7513 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.154e-06/0.5056, allocations: 0 / 0.7513 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003092/0.5087, allocations: 1.384 MB / 0.7527 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.5088, allocations: 192.9 kB / 0.7529 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.5096, allocations: 0.7667 MB / 0.7536 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.5097, allocations: 45.69 kB / 0.7537 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5101, allocations: 0.5814 MB / 0.7542 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.5103, allocations: 311.5 kB / 0.7545 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.5104, allocations: 69.69 kB / 0.7546 GB, free: 460 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5105, allocations: 345.9 kB / 0.7549 GB, free: 108 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.5111, allocations: 305.8 kB / 0.7552 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.5117, allocations: 435.4 kB / 0.7556 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.513, allocations: 0.7461 MB / 0.7564 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.513, allocations: 0 / 0.7564 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001983/0.515, allocations: 0.9853 MB / 0.7573 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.515, allocations: 7.938 kB / 0.7573 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.515, allocations: 8.062 kB / 0.7574 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.5156, allocations: 80.77 kB / 0.7574 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.5164, allocations: 195.7 kB / 0.7576 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.5182, allocations: 1.536 MB / 0.7591 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.5188, allocations: 107.1 kB / 0.7592 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.5189, allocations: 39.97 kB / 0.7593 GB, free: 11.49 MB / 0.5919 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.0004281/0.5194, allocations: 325.7 kB / 0.7596 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.5195, allocations: 102.7 kB / 0.7597 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.5222, allocations: 1.294 MB / 0.7609 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.5222, allocations: 12 kB / 0.7609 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5222, allocations: 0 / 0.7609 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5222, allocations: 7.922 kB / 0.7609 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.5258, allocations: 2.509 MB / 0.7634 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.5258, allocations: 7.984 kB / 0.7634 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.5266, allocations: 179.7 kB / 0.7636 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/0.5271, allocations: 80.78 kB / 0.7637 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.5271, allocations: 31.97 kB / 0.7637 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.5288, allocations: 1.559 MB / 0.7652 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5288, allocations: 11.98 kB / 0.7652 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.5308, allocations: 1.113 MB / 0.7663 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.5312, allocations: 343.3 kB / 0.7666 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5313, allocations: 24 kB / 0.7667 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.532, allocations: 75.94 kB / 0.7667 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5321, allocations: 72.89 kB / 0.7668 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.5322, allocations: 43.97 kB / 0.7668 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006402/0.5329, allocations: 0.5575 MB / 0.7674 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5329, allocations: 4 kB / 0.7674 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008408/0.5337, allocations: 406.5 kB / 0.7678 GB, free: 2.496 MB / 0.5919 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.003341/0.5371, allocations: 2.165 MB / 0.7699 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.5388, allocations: 0.9328 MB / 0.7708 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5388, allocations: 4.25 kB / 0.7708 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.5397, allocations: 0.586 MB / 0.7714 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.541, allocations: 288.4 kB / 0.7717 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.5547, allocations: 8.997 MB / 0.7804 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.5554, allocations: 1.162 MB / 0.7816 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008639/0.5562, allocations: 291.8 kB / 0.7819 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/0.5569, allocations: 0.5617 MB / 0.7824 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of SimCode: time 5.72e-07/0.5569, allocations: 0 / 0.7824 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3986/0.9556, allocations: 24.16 MB / 0.806 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.9559, allocations: 295 kB / 0.8063 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.305, allocations: 0 / 0.8063 GB, free: 11.28 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)