Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001174/0.001174, 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.001126/0.001126, allocations: 192.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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7934/0.7934, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 68.05 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1199, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004954/0.1248, allocations: 4.119 MB / 0.588 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3187/0.4435, allocations: 148.2 MB / 0.7328 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.4442, allocations: 19.28 kB / 0.7328 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.4448, allocations: 130.4 kB / 0.7329 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.4462, allocations: 426.7 kB / 0.7333 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4479, allocations: 0.7042 MB / 0.734 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.4492, allocations: 1.186 MB / 0.7352 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/0.4501, allocations: 0.6082 MB / 0.7358 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.4507, allocations: 436.5 kB / 0.7362 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.4513, allocations: 445.8 kB / 0.7366 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.4515, allocations: 104.5 kB / 0.7367 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.4522, allocations: 454.3 kB / 0.7371 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.4524, allocations: 271.7 kB / 0.7374 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.4529, allocations: 0.4888 MB / 0.7379 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.4543, allocations: 1.446 MB / 0.7393 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4543, allocations: 1.312 kB / 0.7393 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4543, allocations: 0 / 0.7393 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.101e-05/0.4544, allocations: 0 / 0.7393 GB, free: 10.55 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00211/0.4565, allocations: 1.33 MB / 0.7406 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4565, allocations: 9.531 kB / 0.7406 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.4567, allocations: 133.4 kB / 0.7407 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.4575, allocations: 178.3 kB / 0.7409 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.4583, allocations: 0.7011 MB / 0.7416 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.4583, allocations: 62.09 kB / 0.7416 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.4584, allocations: 78.88 kB / 0.7417 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.4597, allocations: 0.8588 MB / 0.7426 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4597, allocations: 9.344 kB / 0.7426 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.4598, allocations: 32.38 kB / 0.7426 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4598, allocations: 20.53 kB / 0.7426 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4612, allocations: 1.066 MB / 0.7437 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.4642, allocations: 2.371 MB / 0.746 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4653, allocations: 0.7956 MB / 0.7468 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/0.4657, allocations: 284.2 kB / 0.747 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.4658, allocations: 30.28 kB / 0.7471 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007008/0.4665, allocations: 425.9 kB / 0.7475 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.754e-06/0.4665, allocations: 4 kB / 0.7475 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002579/0.4691, allocations: 1.072 MB / 0.7485 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.4692, allocations: 196.6 kB / 0.7487 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.4698, allocations: 0.5861 MB / 0.7493 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.4699, allocations: 41.7 kB / 0.7493 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.4701, allocations: 368.4 kB / 0.7497 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.4703, allocations: 236.5 kB / 0.7499 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.4705, allocations: 134.2 kB / 0.75 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4706, allocations: 382.8 kB / 0.7504 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.471, allocations: 217.2 kB / 0.7506 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.4715, allocations: 310.8 kB / 0.7509 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.4723, allocations: 0.5316 MB / 0.7514 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4723, allocations: 0 / 0.7514 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001525/0.4739, allocations: 0.7246 MB / 0.7521 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4739, allocations: 4 kB / 0.7521 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4739, allocations: 0 / 0.7521 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.4745, allocations: 80.86 kB / 0.7522 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.475, allocations: 135.8 kB / 0.7523 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.4768, allocations: 1.632 MB / 0.7539 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.4773, allocations: 75.47 kB / 0.754 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.4774, allocations: 27.97 kB / 0.754 GB, free: 14.44 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 (75): * Single equations (assignments): 74 * 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.0002939/0.4777, allocations: 249.6 kB / 0.7542 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4778, allocations: 79 kB / 0.7543 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.4799, allocations: 1.003 MB / 0.7553 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4799, allocations: 8 kB / 0.7553 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4799, allocations: 4 kB / 0.7553 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.4799, allocations: 7.984 kB / 0.7553 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.4826, allocations: 1.85 MB / 0.7571 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4826, allocations: 7.938 kB / 0.7571 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.4832, allocations: 147.7 kB / 0.7573 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.4836, allocations: 80.72 kB / 0.7574 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.4836, allocations: 19.98 kB / 0.7574 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.4853, allocations: 1.658 MB / 0.759 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4853, allocations: 6.922 kB / 0.759 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.4869, allocations: 0.9063 MB / 0.7599 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.4872, allocations: 259.8 kB / 0.7601 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.4873, allocations: 16 kB / 0.7601 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.4878, allocations: 59.17 kB / 0.7602 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.488, allocations: 68.89 kB / 0.7603 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.488, allocations: 31.98 kB / 0.7603 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004197/0.4885, allocations: 431 kB / 0.7607 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4885, allocations: 0 / 0.7607 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006568/0.4891, allocations: 279.3 kB / 0.761 GB, free: 7.051 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.002899/0.492, allocations: 1.952 MB / 0.7629 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.4938, allocations: 0.9149 MB / 0.7638 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4938, allocations: 4 kB / 0.7638 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.4946, allocations: 492.3 kB / 0.7642 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4957, allocations: 294.7 kB / 0.7645 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/0.5055, allocations: 6.404 MB / 0.7708 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.506, allocations: 1.001 MB / 0.7718 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006887/0.5067, allocations: 254.1 kB / 0.772 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.5072, allocations: 351.3 kB / 0.7723 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5072, allocations: 0 / 0.7723 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.5425, allocations: 19.54 MB / 0.7914 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.5428, allocations: 314.2 kB / 0.7917 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.639, allocations: 1.875 kB / 0.7917 GB, free: 7.918 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)