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.007239/0.007245, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001487/0.001487, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.5851 GB, free: 3.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4522, allocations: 80.92 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004845/0.4571, allocations: 4.111 MB / 0.6682 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.6279, allocations: 150.5 MB / 0.8151 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.6291, allocations: 15.94 kB / 0.8151 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.63, allocations: 174.4 kB / 0.8153 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.6322, allocations: 475.8 kB / 0.8158 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.6345, allocations: 0.7962 MB / 0.8165 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.6361, allocations: 1.184 MB / 0.8177 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.6372, allocations: 0.6137 MB / 0.8183 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.6379, allocations: 446.4 kB / 0.8187 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.6386, allocations: 446 kB / 0.8191 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.6389, allocations: 104 kB / 0.8192 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.6398, allocations: 475.6 kB / 0.8197 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.6401, allocations: 271.2 kB / 0.82 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.6407, allocations: 497.3 kB / 0.8204 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.6427, allocations: 1.48 MB / 0.8219 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.6427, allocations: 3.984 kB / 0.8219 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6427, allocations: 7.938 kB / 0.8219 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.695e-05/0.6428, allocations: 0 / 0.8219 GB, free: 15.52 MB / 0.6544 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.002682/0.6455, allocations: 1.318 MB / 0.8232 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6455, allocations: 12.03 kB / 0.8232 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.6457, allocations: 131.1 kB / 0.8233 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/0.6467, allocations: 179.5 kB / 0.8235 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6479, allocations: 0.7265 MB / 0.8242 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.648, allocations: 58 kB / 0.8242 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.6481, allocations: 80 kB / 0.8243 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.6495, allocations: 0.8637 MB / 0.8252 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6495, allocations: 0 / 0.8252 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.6496, allocations: 39.98 kB / 0.8252 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.6496, allocations: 20 kB / 0.8252 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.6513, allocations: 1.065 MB / 0.8263 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.6549, allocations: 2.351 MB / 0.8286 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.6562, allocations: 0.7935 MB / 0.8293 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.6566, allocations: 270.4 kB / 0.8296 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.701e-05/0.6568, allocations: 36.58 kB / 0.8296 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000709/0.6575, allocations: 427.1 kB / 0.83 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.6575, allocations: 0 / 0.83 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002751/0.6602, allocations: 1.065 MB / 0.8311 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.6604, allocations: 200.6 kB / 0.8313 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.6611, allocations: 0.5823 MB / 0.8318 GB, free: 5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.6612, allocations: 41.7 kB / 0.8319 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6615, allocations: 380.2 kB / 0.8322 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.6616, allocations: 232.6 kB / 0.8325 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.6618, allocations: 130.2 kB / 0.8326 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.662, allocations: 382.8 kB / 0.8329 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.6625, allocations: 217.2 kB / 0.8331 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.663, allocations: 314.7 kB / 0.8334 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.6639, allocations: 0.5354 MB / 0.834 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.664, allocations: 0 / 0.834 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00166/0.6656, allocations: 0.712 MB / 0.8347 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6656, allocations: 8 kB / 0.8347 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6657, allocations: 0 / 0.8347 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.6662, allocations: 80.81 kB / 0.8348 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.6668, allocations: 139.8 kB / 0.8349 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.6688, allocations: 1.626 MB / 0.8365 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.6694, allocations: 83.91 kB / 0.8366 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6695, allocations: 23.98 kB / 0.8366 GB, free: 15.9 MB / 0.67 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.0003641/0.6698, allocations: 249.7 kB / 0.8368 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.67, allocations: 79 kB / 0.8369 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.6722, allocations: 1.002 MB / 0.8379 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.6723, allocations: 8 kB / 0.8379 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6723, allocations: 3.984 kB / 0.8379 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6723, allocations: 7.984 kB / 0.8379 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.6754, allocations: 1.858 MB / 0.8397 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6754, allocations: 4 kB / 0.8397 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.676, allocations: 143.8 kB / 0.8398 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.6764, allocations: 76.78 kB / 0.8399 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.6765, allocations: 19.98 kB / 0.8399 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.6783, allocations: 1.646 MB / 0.8415 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6784, allocations: 3.938 kB / 0.8415 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6802, allocations: 0.9123 MB / 0.8424 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.6806, allocations: 263.8 kB / 0.8427 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6807, allocations: 19.91 kB / 0.8427 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.6813, allocations: 54.39 kB / 0.8428 GB, free: 9.301 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6814, allocations: 68.86 kB / 0.8428 GB, free: 9.234 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.6815, allocations: 35.97 kB / 0.8429 GB, free: 9.199 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005455/0.682, allocations: 435 kB / 0.8433 GB, free: 8.781 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.682, allocations: 0 / 0.8433 GB, free: 8.781 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008146/0.6829, allocations: 283.3 kB / 0.8435 GB, free: 8.504 MB / 0.67 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.003392/0.6863, allocations: 1.953 MB / 0.8455 GB, free: 6.695 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.6878, allocations: 0.716 MB / 0.8462 GB, free: 5.965 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6878, allocations: 4 kB / 0.8462 GB, free: 5.961 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.6887, allocations: 496.5 kB / 0.8466 GB, free: 5.469 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6899, allocations: 288.2 kB / 0.8469 GB, free: 5.207 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.7015, allocations: 5.856 MB / 0.8526 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.7023, allocations: 1.003 MB / 0.8536 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008152/0.7031, allocations: 258.1 kB / 0.8538 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.7036, allocations: 347.3 kB / 0.8542 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.7036, allocations: 0 / 0.8542 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4278/1.131, allocations: 19.92 MB / 0.8736 GB, free: 190 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.7, allocations: 12.55 kB / 0.8736 GB, free: 190 MB / 0.6856 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)