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.001169/0.001169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001346/0.001346, allocations: 194.4 kB / 16.25 MB, free: 6.633 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.183/1.183, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6734/0.6734, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 60.44 kB / 0.5013 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 80.2 MB / 0.5797 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005084/0.1254, allocations: 4.504 MB / 0.5841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3144/0.4398, allocations: 148.4 MB / 0.729 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.4405, allocations: 20.75 kB / 0.729 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.4411, allocations: 140.5 kB / 0.7291 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.4426, allocations: 440.3 kB / 0.7296 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.4442, allocations: 0.7412 MB / 0.7303 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.4456, allocations: 1.314 MB / 0.7316 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.4467, allocations: 0.91 MB / 0.7324 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.4473, allocations: 0.541 MB / 0.733 GB, free: 444 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.4481, allocations: 0.5742 MB / 0.7335 GB, free: 108 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.4484, allocations: 143.5 kB / 0.7337 GB, free: 108 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.4492, allocations: 484.8 kB / 0.7341 GB, free: 0 / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.4495, allocations: 345 kB / 0.7345 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.45, allocations: 0.6518 MB / 0.7351 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.4515, allocations: 1.793 MB / 0.7369 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4515, allocations: 6.766 kB / 0.7369 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.81e-07/0.4515, allocations: 0 / 0.7369 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4515, allocations: 4 kB / 0.7369 GB, free: 14.54 MB / 0.5606 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.002048/0.4536, allocations: 1.584 MB / 0.7384 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4536, allocations: 12.23 kB / 0.7384 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.4538, allocations: 170.2 kB / 0.7386 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.4546, allocations: 215.7 kB / 0.7388 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.4555, allocations: 0.8106 MB / 0.7396 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.4556, allocations: 91.39 kB / 0.7397 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4557, allocations: 110 kB / 0.7398 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.4573, allocations: 1.131 MB / 0.7409 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.4574, allocations: 1.375 kB / 0.7409 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.4575, allocations: 54.92 kB / 0.7409 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.4575, allocations: 27.5 kB / 0.741 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.4591, allocations: 1.236 MB / 0.7422 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.4627, allocations: 3.023 MB / 0.7451 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4639, allocations: 0.772 MB / 0.7459 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.4643, allocations: 294.7 kB / 0.7462 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/0.4644, allocations: 28.69 kB / 0.7462 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007248/0.4652, allocations: 459.1 kB / 0.7466 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.853e-06/0.4652, allocations: 0 / 0.7466 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002646/0.4678, allocations: 1.139 MB / 0.7477 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.4679, allocations: 192.6 kB / 0.7479 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.4686, allocations: 0.6843 MB / 0.7486 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.4687, allocations: 37.7 kB / 0.7486 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.469, allocations: 0.4995 MB / 0.7491 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4691, allocations: 256.3 kB / 0.7494 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4693, allocations: 146.5 kB / 0.7495 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.4694, allocations: 334 kB / 0.7498 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.4698, allocations: 237.9 kB / 0.75 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.4704, allocations: 342.6 kB / 0.7504 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.4713, allocations: 0.5761 MB / 0.7509 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4713, allocations: 8.719 kB / 0.7509 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001651/0.4729, allocations: 0.794 MB / 0.7517 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.473, allocations: 6.031 kB / 0.7517 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.473, allocations: 0 / 0.7517 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.4735, allocations: 84.86 kB / 0.7518 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.4741, allocations: 143.8 kB / 0.7519 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4759, allocations: 1.643 MB / 0.7535 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.4764, allocations: 90.78 kB / 0.7536 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.4765, allocations: 23.98 kB / 0.7536 GB, free: 344 kB / 0.5606 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.0003194/0.4768, allocations: 279.2 kB / 0.7539 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.477, allocations: 90 kB / 0.754 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.4791, allocations: 1.026 MB / 0.755 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4791, allocations: 8 kB / 0.755 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4791, allocations: 4 kB / 0.755 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4791, allocations: 3.984 kB / 0.755 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.48, allocations: 0.9891 MB / 0.756 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.48, allocations: 0 / 0.756 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.4806, allocations: 147.8 kB / 0.7561 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004082/0.481, allocations: 72.8 kB / 0.7562 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.4811, allocations: 24.48 kB / 0.7562 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.4827, allocations: 1.652 MB / 0.7578 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4827, allocations: 8.094 kB / 0.7578 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.4844, allocations: 0.8887 MB / 0.7587 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4847, allocations: 279.7 kB / 0.759 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4848, allocations: 16 kB / 0.759 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.4854, allocations: 55.94 kB / 0.759 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4855, allocations: 68.84 kB / 0.7591 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.4855, allocations: 27.98 kB / 0.7591 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005041/0.486, allocations: 0.491 MB / 0.7596 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4861, allocations: 0 / 0.7596 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006238/0.4867, allocations: 334.9 kB / 0.7599 GB, free: 9.645 MB / 0.5762 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.002937/0.4896, allocations: 1.936 MB / 0.7618 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001882/0.4915, allocations: 0.9634 MB / 0.7628 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4915, allocations: 0 / 0.7628 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.4923, allocations: 0.5046 MB / 0.7633 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4934, allocations: 297.8 kB / 0.7635 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.5042, allocations: 7.435 MB / 0.7708 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.5047, allocations: 1.079 MB / 0.7719 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007303/0.5055, allocations: 270.9 kB / 0.7721 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.506, allocations: 455.2 kB / 0.7725 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.506, allocations: 0 / 0.7725 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.736/1.242, allocations: 21.45 MB / 0.7935 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/1.242, allocations: 295.7 kB / 0.7938 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/3.353, allocations: 3.938 kB / 0.7938 GB, free: 7.281 MB / 0.6075 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)