Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.0009382/0.0009383, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005462/0.005463, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6943/0.6943, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8.5 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3328, allocations: 81.58 MB / 0.5837 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003839/0.3367, allocations: 3.687 MB / 0.5873 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.137/0.4737, allocations: 146.5 MB / 0.7304 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.4743, allocations: 15.94 kB / 0.7305 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.4748, allocations: 135 kB / 0.7306 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.476, allocations: 400.7 kB / 0.731 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.4775, allocations: 0.6836 MB / 0.7316 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4786, allocations: 1.094 MB / 0.7327 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.4793, allocations: 0.5899 MB / 0.7333 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.4798, allocations: 286.6 kB / 0.7336 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.4802, allocations: 338 kB / 0.7339 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.4803, allocations: 20 kB / 0.7339 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.4809, allocations: 355.7 kB / 0.7342 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.4811, allocations: 171.2 kB / 0.7344 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.4814, allocations: 407.1 kB / 0.7348 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.4826, allocations: 1.366 MB / 0.7361 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4826, allocations: 0 / 0.7361 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4826, allocations: 0 / 0.7361 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.4826, allocations: 3.938 kB / 0.7361 GB, free: 3.742 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001797/0.4844, allocations: 1.116 MB / 0.7372 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4845, allocations: 8.031 kB / 0.7372 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.4847, allocations: 127 kB / 0.7373 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.4856, allocations: 191.5 kB / 0.7375 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.4865, allocations: 0.6954 MB / 0.7382 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.4865, allocations: 62 kB / 0.7383 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.4866, allocations: 76 kB / 0.7383 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.488, allocations: 0.8637 MB / 0.7392 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.488, allocations: 4 kB / 0.7392 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.4881, allocations: 36 kB / 0.7392 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4881, allocations: 16 kB / 0.7392 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.4897, allocations: 1.073 MB / 0.7403 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.4929, allocations: 2.412 MB / 0.7426 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.4942, allocations: 0.8046 MB / 0.7434 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.4946, allocations: 274.4 kB / 0.7437 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.4947, allocations: 36.58 kB / 0.7437 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.4954, allocations: 425.6 kB / 0.7441 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.713e-06/0.4954, allocations: 0 / 0.7441 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002683/0.4981, allocations: 1.082 MB / 0.7452 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.4982, allocations: 196.5 kB / 0.7454 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.4988, allocations: 0.5783 MB / 0.7459 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.4988, allocations: 41.7 kB / 0.746 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.4991, allocations: 376.2 kB / 0.7463 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4992, allocations: 232.6 kB / 0.7466 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.4993, allocations: 49.7 kB / 0.7466 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4995, allocations: 382.8 kB / 0.747 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.4999, allocations: 225.1 kB / 0.7472 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.5003, allocations: 314.8 kB / 0.7475 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.5012, allocations: 0.5312 MB / 0.748 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5012, allocations: 7.938 kB / 0.748 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001521/0.5028, allocations: 0.7158 MB / 0.7487 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5028, allocations: 8 kB / 0.7487 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5028, allocations: 0 / 0.7487 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.5034, allocations: 84.86 kB / 0.7488 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.5039, allocations: 135.9 kB / 0.7489 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5057, allocations: 1.54 MB / 0.7504 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.5062, allocations: 79.39 kB / 0.7505 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.5062, allocations: 32.05 kB / 0.7505 GB, free: 4.426 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 (73): * Single equations (assignments): 72 * 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.0002923/0.5065, allocations: 249.6 kB / 0.7508 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.5066, allocations: 67.16 kB / 0.7508 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.5087, allocations: 0.9781 MB / 0.7518 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5087, allocations: 11.98 kB / 0.7518 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5087, allocations: 0 / 0.7518 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5087, allocations: 3.984 kB / 0.7518 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.5114, allocations: 1.848 MB / 0.7536 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5114, allocations: 0 / 0.7536 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.5119, allocations: 135.8 kB / 0.7537 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.5124, allocations: 84.78 kB / 0.7538 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.5124, allocations: 27.92 kB / 0.7538 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.5141, allocations: 1.563 MB / 0.7554 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5141, allocations: 0 / 0.7554 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5157, allocations: 0.9024 MB / 0.7563 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.516, allocations: 263.8 kB / 0.7565 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.5161, allocations: 16 kB / 0.7565 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.5166, allocations: 77.75 kB / 0.7566 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5167, allocations: 56.86 kB / 0.7566 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.5168, allocations: 31.98 kB / 0.7567 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004346/0.5172, allocations: 435 kB / 0.7571 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5172, allocations: 0 / 0.7571 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006749/0.5179, allocations: 287.2 kB / 0.7574 GB, free: 13.17 MB / 0.5919 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 (81): * Single equations (assignments): 78 * 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.002933/0.5209, allocations: 1.939 MB / 0.7593 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.5222, allocations: 0.724 MB / 0.76 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5222, allocations: 0 / 0.76 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.5229, allocations: 488.2 kB / 0.7604 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5241, allocations: 260.6 kB / 0.7607 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5343, allocations: 6.415 MB / 0.7669 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.5348, allocations: 0.9959 MB / 0.7679 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006781/0.5355, allocations: 246 kB / 0.7682 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.5359, allocations: 351.3 kB / 0.7685 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5359, allocations: 3.938 kB / 0.7685 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6273/1.163, allocations: 18.49 MB / 0.7865 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.164, allocations: 289 kB / 0.7868 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.522, allocations: 0 / 0.7868 GB, free: 15.33 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)