Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.0009597/0.0009598, 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.0009071/0.0009071, allocations: 191 kB / 16.25 MB, free: 6.637 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8006/0.8006, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 68.58 kB / 0.505 GB, free: 5.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1201, allocations: 80.92 MB / 0.584 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005399/0.1255, allocations: 4.507 MB / 0.5884 GB, free: 220 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3181/0.4436, allocations: 148.4 MB / 0.7333 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006568/0.4443, allocations: 17.09 kB / 0.7333 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.4449, allocations: 145.4 kB / 0.7334 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.4463, allocations: 431.7 kB / 0.7339 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.4479, allocations: 0.7382 MB / 0.7346 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.449, allocations: 1.314 MB / 0.7359 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009644/0.45, allocations: 0.9208 MB / 0.7368 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.4505, allocations: 0.5339 MB / 0.7373 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.4509, allocations: 0.5758 MB / 0.7378 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.4511, allocations: 141.1 kB / 0.738 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.4517, allocations: 486.9 kB / 0.7384 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.4519, allocations: 348.4 kB / 0.7388 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.4524, allocations: 0.6429 MB / 0.7394 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.4538, allocations: 1.796 MB / 0.7412 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4538, allocations: 5.031 kB / 0.7412 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4538, allocations: 5.312 kB / 0.7412 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.4538, allocations: 0 / 0.7412 GB, free: 9.355 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.002135/0.4559, allocations: 1.584 MB / 0.7427 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.456, allocations: 13.23 kB / 0.7427 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.4561, allocations: 169.8 kB / 0.7429 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/0.457, allocations: 215.6 kB / 0.7431 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.4579, allocations: 0.8135 MB / 0.7439 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.4579, allocations: 82.77 kB / 0.744 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4581, allocations: 109.5 kB / 0.7441 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.4597, allocations: 1.138 MB / 0.7452 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4597, allocations: 3.938 kB / 0.7452 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.4598, allocations: 49.47 kB / 0.7452 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4598, allocations: 25.81 kB / 0.7453 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.4614, allocations: 1.246 MB / 0.7465 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.4652, allocations: 3.008 MB / 0.7494 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4664, allocations: 0.7803 MB / 0.7502 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.4668, allocations: 293.9 kB / 0.7505 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.4669, allocations: 32.67 kB / 0.7505 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/0.4676, allocations: 448 kB / 0.7509 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.824e-06/0.4677, allocations: 0 / 0.7509 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002647/0.4703, allocations: 1.143 MB / 0.752 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.4704, allocations: 188.6 kB / 0.7522 GB, free: 372 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.4711, allocations: 0.6921 MB / 0.7529 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.4712, allocations: 37.7 kB / 0.7529 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.4715, allocations: 0.4957 MB / 0.7534 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.4717, allocations: 260.3 kB / 0.7537 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.4719, allocations: 146.5 kB / 0.7538 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.472, allocations: 334 kB / 0.7541 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.4724, allocations: 233.9 kB / 0.7543 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.4729, allocations: 350.5 kB / 0.7547 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.4739, allocations: 0.5721 MB / 0.7552 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4739, allocations: 3.938 kB / 0.7552 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001628/0.4755, allocations: 0.7903 MB / 0.756 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4755, allocations: 8.031 kB / 0.756 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4755, allocations: 4 kB / 0.756 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/0.4761, allocations: 88.7 kB / 0.7561 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.4767, allocations: 147.8 kB / 0.7562 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.4785, allocations: 1.629 MB / 0.7578 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.4791, allocations: 89.7 kB / 0.7579 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.4791, allocations: 27.98 kB / 0.7579 GB, free: 10.27 MB / 0.5762 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.000321/0.4794, allocations: 277.8 kB / 0.7582 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4796, allocations: 86.91 kB / 0.7583 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.4816, allocations: 1.036 MB / 0.7593 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4817, allocations: 8 kB / 0.7593 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4817, allocations: 0.5625 kB / 0.7593 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4817, allocations: 3.984 kB / 0.7593 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.4826, allocations: 0.9815 MB / 0.7603 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4826, allocations: 0 / 0.7603 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.4832, allocations: 151.9 kB / 0.7604 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.4837, allocations: 80.7 kB / 0.7605 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.4837, allocations: 23.98 kB / 0.7605 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.4854, allocations: 1.654 MB / 0.7621 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4854, allocations: 0 / 0.7621 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4871, allocations: 0.8888 MB / 0.763 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4874, allocations: 271.6 kB / 0.7633 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4875, allocations: 27.98 kB / 0.7633 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.488, allocations: 49.67 kB / 0.7633 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4881, allocations: 60.91 kB / 0.7634 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.4882, allocations: 31.98 kB / 0.7634 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005121/0.4887, allocations: 0.4912 MB / 0.7639 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4887, allocations: 0 / 0.7639 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006744/0.4894, allocations: 334.9 kB / 0.7642 GB, free: 3.578 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.002955/0.4924, allocations: 1.929 MB / 0.7661 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.4942, allocations: 0.9711 MB / 0.7671 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4943, allocations: 0 / 0.7671 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.4951, allocations: 0.4969 MB / 0.7675 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4961, allocations: 301 kB / 0.7678 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.5071, allocations: 7.444 MB / 0.7751 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.5077, allocations: 1.09 MB / 0.7762 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007323/0.5085, allocations: 266.9 kB / 0.7764 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.509, allocations: 451.3 kB / 0.7768 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.509, allocations: 0 / 0.7768 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.5465, allocations: 21.47 MB / 0.7978 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.5468, allocations: 303.4 kB / 0.7981 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.662, allocations: 0 / 0.7981 GB, free: 1.141 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)