Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_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.005058/0.005058, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001104/0.001104, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 61.88 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1329, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007079/0.14, allocations: 4.124 MB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4865/0.6265, allocations: 150.5 MB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.6273, allocations: 18.75 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.628, allocations: 167.3 kB / 0.8103 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.6298, allocations: 479.4 kB / 0.8108 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.6317, allocations: 0.7967 MB / 0.8115 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.6331, allocations: 1.188 MB / 0.8127 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009516/0.634, allocations: 0.6048 MB / 0.8133 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.6348, allocations: 437.2 kB / 0.8137 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.6355, allocations: 449.9 kB / 0.8141 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.6358, allocations: 103.4 kB / 0.8142 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009394/0.6367, allocations: 475 kB / 0.8147 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.637, allocations: 270.2 kB / 0.815 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.6375, allocations: 0.4929 MB / 0.8154 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.6392, allocations: 1.484 MB / 0.8169 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6392, allocations: 4 kB / 0.8169 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6392, allocations: 2.656 kB / 0.8169 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.988e-05/0.6393, allocations: 0 / 0.8169 GB, free: 9.859 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002436/0.6417, allocations: 1.328 MB / 0.8182 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6418, allocations: 7.906 kB / 0.8182 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.6419, allocations: 131.4 kB / 0.8183 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.6428, allocations: 182.7 kB / 0.8185 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6439, allocations: 0.7282 MB / 0.8192 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.6439, allocations: 57.72 kB / 0.8193 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.644, allocations: 80.45 kB / 0.8193 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.6454, allocations: 0.8599 MB / 0.8202 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.6454, allocations: 8.969 kB / 0.8202 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.6455, allocations: 32.03 kB / 0.8202 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6455, allocations: 18.09 kB / 0.8202 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.647, allocations: 1.065 MB / 0.8213 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.6504, allocations: 2.337 MB / 0.8236 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.6516, allocations: 0.7898 MB / 0.8243 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.652, allocations: 279.8 kB / 0.8246 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.6521, allocations: 30.17 kB / 0.8246 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.6528, allocations: 422.5 kB / 0.825 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.6528, allocations: 2.938 kB / 0.825 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002737/0.6556, allocations: 1.078 MB / 0.8261 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.6557, allocations: 191.9 kB / 0.8263 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007415/0.6564, allocations: 0.5845 MB / 0.8268 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.6565, allocations: 42.39 kB / 0.8269 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.6568, allocations: 379.7 kB / 0.8272 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.657, allocations: 237.6 kB / 0.8275 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.6573, allocations: 135.7 kB / 0.8276 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6574, allocations: 377.9 kB / 0.828 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.6578, allocations: 215.5 kB / 0.8282 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.6583, allocations: 316.4 kB / 0.8285 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.6592, allocations: 0.5251 MB / 0.829 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6592, allocations: 2.125 kB / 0.829 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001596/0.6608, allocations: 0.7205 MB / 0.8297 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6609, allocations: 7.625 kB / 0.8297 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6609, allocations: 0 / 0.8297 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.6615, allocations: 82.98 kB / 0.8298 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.662, allocations: 146 kB / 0.8299 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.664, allocations: 1.621 MB / 0.8315 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.6646, allocations: 69.7 kB / 0.8316 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.6647, allocations: 25.92 kB / 0.8316 GB, free: 15.63 MB / 0.6075 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.000333/0.665, allocations: 257.1 kB / 0.8318 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.6652, allocations: 80.75 kB / 0.8319 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.6672, allocations: 0.9985 MB / 0.8329 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6672, allocations: 9.812 kB / 0.8329 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6673, allocations: 0 / 0.8329 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6673, allocations: 3.984 kB / 0.8329 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.6701, allocations: 1.858 MB / 0.8347 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6702, allocations: 3.938 kB / 0.8347 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.6707, allocations: 146 kB / 0.8348 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.6711, allocations: 74.72 kB / 0.8349 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.6712, allocations: 22.83 kB / 0.8349 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.673, allocations: 1.656 MB / 0.8366 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.673, allocations: 0 / 0.8366 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.6747, allocations: 0.9193 MB / 0.8375 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.675, allocations: 261.1 kB / 0.8377 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6751, allocations: 21.72 kB / 0.8377 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.6757, allocations: 57.06 kB / 0.8378 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6758, allocations: 59.2 kB / 0.8378 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.6758, allocations: 32 kB / 0.8379 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004556/0.6763, allocations: 426.1 kB / 0.8383 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6763, allocations: 0 / 0.8383 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007338/0.6771, allocations: 284.3 kB / 0.8385 GB, free: 10.7 MB / 0.6075 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.002966/0.68, allocations: 1.96 MB / 0.8405 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.6814, allocations: 0.7256 MB / 0.8412 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6814, allocations: 2.375 kB / 0.8412 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007587/0.6821, allocations: 0.4884 MB / 0.8416 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.6832, allocations: 298.8 kB / 0.8419 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.6924, allocations: 5.858 MB / 0.8477 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.6929, allocations: 0.9954 MB / 0.8486 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006729/0.6936, allocations: 250.1 kB / 0.8489 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.694, allocations: 343.3 kB / 0.8492 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.694, allocations: 4 kB / 0.8492 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.7422, allocations: 20.29 MB / 0.869 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.68, allocations: 11.78 kB / 0.869 GB, free: 13.46 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)