Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001166/0.001166, allocations: 102.3 kB / 16.4 MB, free: 6.492 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.001632/0.001632, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 62.38 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1752, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006887/0.1821, allocations: 4.836 MB / 0.6363 GB, free: 68 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6247/0.8069, allocations: 150.6 MB / 0.7834 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.8081, allocations: 19.5 kB / 0.7834 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.8091, allocations: 189.6 kB / 0.7836 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.8121, allocations: 0.5448 MB / 0.7841 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.8149, allocations: 0.8287 MB / 0.7849 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00304/0.818, allocations: 1.375 MB / 0.7862 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.8199, allocations: 0.5741 MB / 0.7868 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.8214, allocations: 490.8 kB / 0.7873 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.8227, allocations: 0.5016 MB / 0.7878 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005416/0.8233, allocations: 115.7 kB / 0.7879 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.825, allocations: 479.8 kB / 0.7883 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.8256, allocations: 293 kB / 0.7886 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.8268, allocations: 0.5539 MB / 0.7891 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.8303, allocations: 1.626 MB / 0.7907 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.8303, allocations: 2.781 kB / 0.7907 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8303, allocations: 0 / 0.7907 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.635e-05/0.8304, allocations: 4 kB / 0.7907 GB, free: 12.98 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004421/0.8348, allocations: 1.431 MB / 0.7921 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8349, allocations: 8.094 kB / 0.7921 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.8352, allocations: 131 kB / 0.7923 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.8363, allocations: 193.5 kB / 0.7925 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.838, allocations: 0.7666 MB / 0.7932 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.8381, allocations: 59.44 kB / 0.7933 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.8382, allocations: 80 kB / 0.7933 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.84, allocations: 0.9128 MB / 0.7942 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.84, allocations: 0 / 0.7942 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.8401, allocations: 37.56 kB / 0.7943 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.8402, allocations: 20.81 kB / 0.7943 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.8419, allocations: 1.109 MB / 0.7954 GB, free: 11.56 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.004269/0.8462, allocations: 2.676 MB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.8476, allocations: 0.7917 MB / 0.7988 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.8481, allocations: 303 kB / 0.799 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.8482, allocations: 36.89 kB / 0.7991 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008572/0.849, allocations: 491.7 kB / 0.7996 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.736e-06/0.8491, allocations: 4 kB / 0.7996 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003205/0.8523, allocations: 1.196 MB / 0.8007 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8524, allocations: 188.4 kB / 0.8009 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/0.8533, allocations: 0.6318 MB / 0.8015 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.8534, allocations: 44.86 kB / 0.8016 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.8537, allocations: 395.7 kB / 0.8019 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.854, allocations: 256.5 kB / 0.8022 GB, free: 9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.8542, allocations: 147 kB / 0.8023 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8544, allocations: 396.9 kB / 0.8027 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.8549, allocations: 243.1 kB / 0.8029 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.8555, allocations: 360.5 kB / 0.8033 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.8565, allocations: 0.5809 MB / 0.8038 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.8565, allocations: 1.25 kB / 0.8038 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001969/0.8584, allocations: 0.8067 MB / 0.8046 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8585, allocations: 7.219 kB / 0.8046 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8585, allocations: 0 / 0.8046 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.8591, allocations: 84.75 kB / 0.8047 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.8597, allocations: 149.3 kB / 0.8049 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.862, allocations: 1.639 MB / 0.8065 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.863, allocations: 91.14 kB / 0.8066 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.8631, allocations: 27.39 kB / 0.8066 GB, free: 6.559 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 (87): * Single equations (assignments): 86 * 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.0005447/0.8636, allocations: 269.8 kB / 0.8068 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.8638, allocations: 83.16 kB / 0.8069 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.8662, allocations: 1.055 MB / 0.8079 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.8662, allocations: 10.28 kB / 0.808 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8662, allocations: 7.984 kB / 0.808 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.8662, allocations: 7.922 kB / 0.808 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.8674, allocations: 0.8899 MB / 0.8088 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.8674, allocations: 0 / 0.8088 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.868, allocations: 145.6 kB / 0.809 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.8685, allocations: 70.84 kB / 0.809 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.8686, allocations: 27.92 kB / 0.8091 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.8706, allocations: 1.669 MB / 0.8107 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8706, allocations: 0 / 0.8107 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.8728, allocations: 0.923 MB / 0.8116 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.8733, allocations: 271 kB / 0.8119 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.8734, allocations: 21.08 kB / 0.8119 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.874, allocations: 59.16 kB / 0.8119 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.8742, allocations: 79.73 kB / 0.812 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.8743, allocations: 28.77 kB / 0.812 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006162/0.8749, allocations: 466.8 kB / 0.8125 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8749, allocations: 0 / 0.8125 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000948/0.8759, allocations: 315.1 kB / 0.8128 GB, free: 2.789 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: 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.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 (91): * Single equations (assignments): 85 * 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.003657/0.8795, allocations: 1.971 MB / 0.8147 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.8813, allocations: 0.7972 MB / 0.8155 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8813, allocations: 192 / 0.8155 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/0.8823, allocations: 0.5179 MB / 0.816 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.8837, allocations: 302.6 kB / 0.8163 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.8946, allocations: 6.116 MB / 0.8223 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.8953, allocations: 1.015 MB / 0.8233 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009272/0.8962, allocations: 264.1 kB / 0.8235 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.8968, allocations: 384 kB / 0.8239 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.8968, allocations: 0 / 0.8239 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06016/0.957, allocations: 21.91 MB / 0.8453 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.36, allocations: 10.34 kB / 0.8453 GB, free: 8.039 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)