Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001353/0.001353, allocations: 108 kB / 15.61 MB, free: 152 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.001276/0.001276, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 278.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 97.45 kB / 0.6065 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1521, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007326/0.1594, allocations: 5.131 MB / 0.6986 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4154/0.5749, allocations: 150.6 MB / 0.8457 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.5756, allocations: 15.41 kB / 0.8457 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.5762, allocations: 208.5 kB / 0.8459 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.5778, allocations: 0.5609 MB / 0.8465 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.5796, allocations: 0.8428 MB / 0.8473 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.581, allocations: 1.433 MB / 0.8487 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.582, allocations: 0.6511 MB / 0.8493 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.5825, allocations: 0.5144 MB / 0.8498 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.5832, allocations: 0.5363 MB / 0.8504 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.5833, allocations: 128.6 kB / 0.8505 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.584, allocations: 477.6 kB / 0.8509 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.5844, allocations: 313.4 kB / 0.8512 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.585, allocations: 0.6036 MB / 0.8518 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.5868, allocations: 1.693 MB / 0.8535 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5868, allocations: 4 kB / 0.8535 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5868, allocations: 3.938 kB / 0.8535 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.5869, allocations: 6.672 kB / 0.8535 GB, free: 1.898 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002676/0.5896, allocations: 1.497 MB / 0.855 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5896, allocations: 10.06 kB / 0.855 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.5898, allocations: 151.2 kB / 0.8551 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5909, allocations: 212.3 kB / 0.8553 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.592, allocations: 0.7564 MB / 0.8561 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.5921, allocations: 71.5 kB / 0.8561 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5922, allocations: 89.91 kB / 0.8562 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.5939, allocations: 1.015 MB / 0.8572 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5939, allocations: 6.438 kB / 0.8572 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.594, allocations: 39.97 kB / 0.8572 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.594, allocations: 24.81 kB / 0.8573 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.5959, allocations: 1.172 MB / 0.8584 GB, free: 14.59 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.6003, allocations: 2.893 MB / 0.8612 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.6027, allocations: 0.9688 MB / 0.8622 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.6033, allocations: 318.3 kB / 0.8625 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.6034, allocations: 31.58 kB / 0.8625 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.6044, allocations: 0.5011 MB / 0.863 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.325e-06/0.6044, allocations: 0 / 0.863 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003274/0.6077, allocations: 1.233 MB / 0.8642 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.6078, allocations: 198.1 kB / 0.8644 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.6085, allocations: 0.6351 MB / 0.865 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.6086, allocations: 43.45 kB / 0.8651 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.609, allocations: 432.2 kB / 0.8655 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.6092, allocations: 261.4 kB / 0.8657 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.6095, allocations: 149.3 kB / 0.8659 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.6098, allocations: 388.5 kB / 0.8662 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.6104, allocations: 264.4 kB / 0.8665 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.611, allocations: 365.1 kB / 0.8668 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6122, allocations: 0.6015 MB / 0.8674 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6122, allocations: 0 / 0.8674 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002015/0.6143, allocations: 0.829 MB / 0.8682 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6143, allocations: 8.812 kB / 0.8682 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6143, allocations: 2.375 kB / 0.8682 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6149, allocations: 75.84 kB / 0.8683 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.6156, allocations: 163.7 kB / 0.8685 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.6178, allocations: 1.632 MB / 0.8701 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.6185, allocations: 102.3 kB / 0.8702 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.6186, allocations: 29.61 kB / 0.8702 GB, free: 6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0004134/0.619, allocations: 272 kB / 0.8704 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6192, allocations: 83.22 kB / 0.8705 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.6219, allocations: 1.101 MB / 0.8716 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6219, allocations: 16 kB / 0.8716 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6219, allocations: 0 / 0.8716 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6219, allocations: 5.109 kB / 0.8716 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.6256, allocations: 2.008 MB / 0.8736 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6256, allocations: 0 / 0.8736 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.6262, allocations: 151.8 kB / 0.8737 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.6267, allocations: 68.8 kB / 0.8738 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.6268, allocations: 31.97 kB / 0.8738 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.6289, allocations: 1.658 MB / 0.8754 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.629, allocations: 0 / 0.8754 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.6313, allocations: 1.025 MB / 0.8764 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.6317, allocations: 279.7 kB / 0.8767 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6318, allocations: 16 kB / 0.8767 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.6325, allocations: 65.48 kB / 0.8768 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.6327, allocations: 76.47 kB / 0.8769 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.6328, allocations: 43.97 kB / 0.8769 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006637/0.6335, allocations: 467 kB / 0.8773 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6335, allocations: 0 / 0.8773 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009078/0.6344, allocations: 343 kB / 0.8777 GB, free: 14.27 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004302/0.6387, allocations: 2.061 MB / 0.8797 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.6413, allocations: 1.035 MB / 0.8807 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6413, allocations: 7.938 kB / 0.8807 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6423, allocations: 0.5275 MB / 0.8812 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.6436, allocations: 310.5 kB / 0.8815 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6548, allocations: 6.646 MB / 0.888 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.6555, allocations: 1.047 MB / 0.889 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009027/0.6564, allocations: 274.9 kB / 0.8893 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.657, allocations: 407.2 kB / 0.8897 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6571, allocations: 0 / 0.8897 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/0.7151, allocations: 22.04 MB / 0.9112 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.65, allocations: 10.81 kB / 0.9112 GB, free: 12.32 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)