Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.00133/0.00133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 198 kB / 16.54 MB, free: 6.672 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.173/1.173, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 291 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8467/0.8467, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 94.11 kB / 0.5953 GB, free: 27.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1159, allocations: 86.99 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004996/0.121, allocations: 4.465 MB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3617/0.4826, allocations: 150.8 MB / 0.8319 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.4832, allocations: 19.53 kB / 0.8319 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.4837, allocations: 183 kB / 0.8321 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.4849, allocations: 0.5341 MB / 0.8326 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.4862, allocations: 0.8235 MB / 0.8334 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.487, allocations: 1.362 MB / 0.8347 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006412/0.4877, allocations: 0.6242 MB / 0.8353 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.4881, allocations: 0.4979 MB / 0.8358 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.4885, allocations: 0.5206 MB / 0.8363 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.4887, allocations: 120.3 kB / 0.8364 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.4893, allocations: 465.8 kB / 0.8369 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.4895, allocations: 306.2 kB / 0.8372 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.4898, allocations: 0.571 MB / 0.8377 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.491, allocations: 1.62 MB / 0.8393 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.491, allocations: 5.375 kB / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.491, allocations: 3.75 kB / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.491, allocations: 0 / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00216/0.4932, allocations: 1.466 MB / 0.8408 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.4932, allocations: 9.656 kB / 0.8408 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.4934, allocations: 139.8 kB / 0.8409 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.4942, allocations: 193.4 kB / 0.8411 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.4951, allocations: 0.7688 MB / 0.8418 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.4951, allocations: 69.05 kB / 0.8419 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.4953, allocations: 83.69 kB / 0.842 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.4966, allocations: 0.9668 MB / 0.8429 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4966, allocations: 1.344 kB / 0.8429 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.4967, allocations: 37.31 kB / 0.843 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.4967, allocations: 25.53 kB / 0.843 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.4983, allocations: 1.158 MB / 0.8441 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.5017, allocations: 2.671 MB / 0.8467 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.503, allocations: 0.8465 MB / 0.8475 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.5036, allocations: 329.3 kB / 0.8479 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.658e-05/0.5036, allocations: 31.38 kB / 0.8479 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007968/0.5044, allocations: 0.5345 MB / 0.8484 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 1.903e-06/0.5044, allocations: 0 / 0.8484 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00285/0.5073, allocations: 1.281 MB / 0.8497 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.5074, allocations: 195.1 kB / 0.8499 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.508, allocations: 0.6499 MB / 0.8505 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.5081, allocations: 46.5 kB / 0.8505 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.5083, allocations: 408.2 kB / 0.8509 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.5085, allocations: 287 kB / 0.8512 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.5087, allocations: 156.3 kB / 0.8513 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5089, allocations: 398.1 kB / 0.8517 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.5094, allocations: 269.9 kB / 0.852 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.5099, allocations: 386.3 kB / 0.8523 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.511, allocations: 0.6315 MB / 0.853 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.511, allocations: 0 / 0.853 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001766/0.5128, allocations: 0.8692 MB / 0.8538 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5128, allocations: 11.34 kB / 0.8538 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5128, allocations: 4.094 kB / 0.8538 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.5133, allocations: 79.33 kB / 0.8539 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.514, allocations: 173.2 kB / 0.8541 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.5158, allocations: 1.635 MB / 0.8557 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.5164, allocations: 96.47 kB / 0.8558 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.5165, allocations: 28.14 kB / 0.8558 GB, free: 5.273 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: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.000316/0.5168, allocations: 277.6 kB / 0.8561 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5169, allocations: 89.78 kB / 0.8561 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.5193, allocations: 1.171 MB / 0.8573 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5193, allocations: 10.22 kB / 0.8573 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5193, allocations: 0 / 0.8573 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5193, allocations: 3.984 kB / 0.8573 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.5201, allocations: 0.9424 MB / 0.8582 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5202, allocations: 6.594 kB / 0.8582 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.5207, allocations: 157.7 kB / 0.8584 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.5211, allocations: 70.44 kB / 0.8584 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.5212, allocations: 33.48 kB / 0.8585 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.5228, allocations: 1.669 MB / 0.8601 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5228, allocations: 0 / 0.8601 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.5246, allocations: 0.9987 MB / 0.8611 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.525, allocations: 278.2 kB / 0.8613 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5251, allocations: 24.81 kB / 0.8614 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.5257, allocations: 72.83 kB / 0.8614 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5259, allocations: 78.45 kB / 0.8615 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.5259, allocations: 41.19 kB / 0.8615 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004752/0.5264, allocations: 481.6 kB / 0.862 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5264, allocations: 0 / 0.862 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006766/0.5271, allocations: 313.4 kB / 0.8623 GB, free: 0.6914 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00313/0.5302, allocations: 2.066 MB / 0.8643 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.5324, allocations: 1.078 MB / 0.8654 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5324, allocations: 7.312 kB / 0.8654 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.5332, allocations: 0.5395 MB / 0.8659 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5343, allocations: 292.2 kB / 0.8662 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/0.544, allocations: 6.863 MB / 0.8729 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.5445, allocations: 1.046 MB / 0.8739 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007502/0.5453, allocations: 277.2 kB / 0.8742 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.5458, allocations: 409.8 kB / 0.8746 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5458, allocations: 0 / 0.8746 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6172/1.163, allocations: 22.1 MB / 0.8962 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.58, allocations: 8.047 kB / 0.8962 GB, free: 3.516 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)