Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001187/0.001187, allocations: 105.6 kB / 16.4 MB, free: 6.496 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.001466/0.001466, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7724/0.7724, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 68.39 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1852, allocations: 76.18 MB / 0.6316 GB, free: 5.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00732/0.1926, allocations: 4.947 MB / 0.6364 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6224/0.8151, allocations: 150.8 MB / 0.7837 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008692/0.816, allocations: 15.69 kB / 0.7837 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.8168, allocations: 200 kB / 0.7839 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.8188, allocations: 0.5698 MB / 0.7844 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.8208, allocations: 0.8444 MB / 0.7853 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.8227, allocations: 1.457 MB / 0.7867 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.8236, allocations: 0.5873 MB / 0.7873 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.8245, allocations: 0.5172 MB / 0.7878 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.8253, allocations: 0.5323 MB / 0.7883 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.8255, allocations: 121.6 kB / 0.7884 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.8266, allocations: 487 kB / 0.7889 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.8269, allocations: 311 kB / 0.7892 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.8275, allocations: 0.5815 MB / 0.7897 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.8297, allocations: 1.698 MB / 0.7914 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8298, allocations: 0 / 0.7914 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8298, allocations: 0 / 0.7914 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.8298, allocations: 1.156 kB / 0.7914 GB, free: 12.87 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003499/0.8333, allocations: 1.48 MB / 0.7928 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.8334, allocations: 8.094 kB / 0.7928 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.8336, allocations: 140.7 kB / 0.793 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8347, allocations: 194 kB / 0.7932 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.8361, allocations: 0.782 MB / 0.7939 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.8361, allocations: 66.06 kB / 0.794 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.8363, allocations: 93.8 kB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.838, allocations: 0.9605 MB / 0.795 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.8381, allocations: 3.938 kB / 0.795 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.8382, allocations: 39.28 kB / 0.7951 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.8382, allocations: 26.59 kB / 0.7951 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.8402, allocations: 1.158 MB / 0.7962 GB, free: 11.43 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.005376/0.8456, allocations: 2.868 MB / 0.799 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.8475, allocations: 0.8478 MB / 0.7998 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.8481, allocations: 324.3 kB / 0.8001 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.8482, allocations: 31.25 kB / 0.8002 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.8493, allocations: 0.5277 MB / 0.8007 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 4.328e-06/0.8493, allocations: 0 / 0.8007 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003728/0.8531, allocations: 1.301 MB / 0.802 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.8532, allocations: 194 kB / 0.8021 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.8543, allocations: 0.6518 MB / 0.8028 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.8545, allocations: 45.3 kB / 0.8028 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.8549, allocations: 405.7 kB / 0.8032 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.8552, allocations: 287.3 kB / 0.8035 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.8555, allocations: 160.9 kB / 0.8036 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8557, allocations: 390 kB / 0.804 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.8562, allocations: 269.8 kB / 0.8043 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.8569, allocations: 395.8 kB / 0.8046 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8581, allocations: 0.636 MB / 0.8053 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8581, allocations: 2.562 kB / 0.8053 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002212/0.8603, allocations: 0.8656 MB / 0.8061 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8604, allocations: 11.28 kB / 0.8061 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.8604, allocations: 0 / 0.8061 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.861, allocations: 86.02 kB / 0.8062 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.8618, allocations: 171.1 kB / 0.8064 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.864, allocations: 1.618 MB / 0.808 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.8649, allocations: 101.4 kB / 0.8081 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.8651, allocations: 35.06 kB / 0.8081 GB, free: 6.098 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: 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.0005765/0.8657, allocations: 282.9 kB / 0.8084 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.866, allocations: 83.12 kB / 0.8084 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.8688, allocations: 1.171 MB / 0.8096 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.8689, allocations: 10.28 kB / 0.8096 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8689, allocations: 0 / 0.8096 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.8689, allocations: 7.969 kB / 0.8096 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.8704, allocations: 0.9453 MB / 0.8105 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.8705, allocations: 6.906 kB / 0.8105 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.8711, allocations: 150.1 kB / 0.8107 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.8716, allocations: 70.59 kB / 0.8107 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.8717, allocations: 29.61 kB / 0.8108 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.8737, allocations: 1.655 MB / 0.8124 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8737, allocations: 6.375 kB / 0.8124 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.8763, allocations: 1.001 MB / 0.8134 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.8769, allocations: 281.5 kB / 0.8136 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.8772, allocations: 27.98 kB / 0.8137 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/0.878, allocations: 64.38 kB / 0.8137 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.8782, allocations: 76.45 kB / 0.8138 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8783, allocations: 41.16 kB / 0.8138 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007226/0.879, allocations: 489.4 kB / 0.8143 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.879, allocations: 0 / 0.8143 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001262/0.8803, allocations: 337.4 kB / 0.8146 GB, free: 1.742 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: 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.0041/0.8844, allocations: 2.044 MB / 0.8166 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.8864, allocations: 0.8587 MB / 0.8175 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.8865, allocations: 6.75 kB / 0.8175 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.8876, allocations: 0.5536 MB / 0.818 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8892, allocations: 299.6 kB / 0.8183 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.9016, allocations: 6.494 MB / 0.8246 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.9024, allocations: 1.046 MB / 0.8256 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001077/0.9035, allocations: 265.8 kB / 0.8259 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/0.9042, allocations: 409.3 kB / 0.8263 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.9042, allocations: 0 / 0.8263 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.9628, allocations: 23.19 MB / 0.8489 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.7, allocations: 3.75 kB / 0.8489 GB, free: 4.438 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)