Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001142/0.001142, allocations: 107.7 kB / 16.27 MB, free: 6.352 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.00103/0.00103, allocations: 193.9 kB / 17.2 MB, free: 5.953 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.204/1.204, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6799/0.6799, allocations: 122.8 MB / 413.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 75.89 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2694, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00705/0.2765, allocations: 8.382 MB / 0.5755 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1325/0.409, allocations: 151.8 MB / 0.7238 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.4105, allocations: 23.88 kB / 0.7238 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4116, allocations: 328.6 kB / 0.7241 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.4142, allocations: 0.8532 MB / 0.7249 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.4168, allocations: 1.388 MB / 0.7263 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.4193, allocations: 2.974 MB / 0.7292 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.4209, allocations: 1.499 MB / 0.7307 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.422, allocations: 1.184 MB / 0.7318 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.4231, allocations: 1.339 MB / 0.7331 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.4234, allocations: 324 kB / 0.7334 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009841/0.4244, allocations: 0.6715 MB / 0.7341 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.4249, allocations: 0.701 MB / 0.7348 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.4259, allocations: 1.338 MB / 0.7361 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.4285, allocations: 3.591 MB / 0.7396 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4286, allocations: 3.938 kB / 0.7396 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4286, allocations: 0 / 0.7396 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.4286, allocations: 0 / 0.7396 GB, free: 9.758 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005148/0.4337, allocations: 2.823 MB / 0.7423 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4338, allocations: 15.95 kB / 0.7424 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003093/0.4341, allocations: 312.9 kB / 0.7426 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.449, allocations: 2.116 MB / 0.7447 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.4507, allocations: 1.266 MB / 0.746 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.4508, allocations: 168.5 kB / 0.7461 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.4511, allocations: 216 kB / 0.7463 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2054/0.6565, allocations: 3.278 MB / 0.7495 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.6566, allocations: 3.625 kB / 0.7495 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/0.6568, allocations: 93.67 kB / 0.7496 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/0.6569, allocations: 55.81 kB / 0.7497 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.6695, allocations: 4.2 MB / 0.7538 GB, free: 167.1 MB / 0.5762 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.01296/0.6825, allocations: 8.105 MB / 0.7617 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008009/0.6905, allocations: 2.89 MB / 0.7645 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.6943, allocations: 1.49 MB / 0.766 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.6949, allocations: 0.5049 MB / 0.7665 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004286/0.6992, allocations: 1.842 MB / 0.7683 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.297e-06/0.6992, allocations: 0 / 0.7683 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01336/0.7126, allocations: 4.463 MB / 0.7726 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.7127, allocations: 214.2 kB / 0.7728 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.7137, allocations: 0.9506 MB / 0.7737 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.7138, allocations: 63.73 kB / 0.7738 GB, free: 156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.7142, allocations: 0.7435 MB / 0.7745 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.7146, allocations: 0.6825 MB / 0.7752 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006014/0.7152, allocations: 376.7 kB / 0.7756 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.82e-05/0.7152, allocations: 302 kB / 0.7758 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.719, allocations: 1.24 MB / 0.7771 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.7227, allocations: 1.437 MB / 0.7785 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.7299, allocations: 2.583 MB / 0.781 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.7299, allocations: 0.75 kB / 0.781 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008434/0.7383, allocations: 3.068 MB / 0.784 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7383, allocations: 8 kB / 0.784 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.7384, allocations: 3.938 kB / 0.784 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.7389, allocations: 92.81 kB / 0.7841 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.7421, allocations: 0.5928 MB / 0.7847 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.7436, allocations: 1.629 MB / 0.7862 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.7463, allocations: 362.7 kB / 0.7866 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.7465, allocations: 91.89 kB / 0.7867 GB, free: 145.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0006455/0.7471, allocations: 451.7 kB / 0.7871 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.7474, allocations: 154.1 kB / 0.7873 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009762/0.7572, allocations: 3.713 MB / 0.7909 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.7572, allocations: 27.94 kB / 0.7909 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7572, allocations: 0 / 0.7909 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.7573, allocations: 11.95 kB / 0.7909 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.7592, allocations: 2.465 MB / 0.7933 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7592, allocations: 0 / 0.7933 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/0.7623, allocations: 0.5599 MB / 0.7939 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.7627, allocations: 84.7 kB / 0.794 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.7629, allocations: 71.91 kB / 0.794 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.7642, allocations: 1.667 MB / 0.7957 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7642, allocations: 0 / 0.7957 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/0.7727, allocations: 3.214 MB / 0.7988 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.7733, allocations: 0.5375 MB / 0.7993 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.7736, allocations: 55.91 kB / 0.7994 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/0.7762, allocations: 273.9 kB / 0.7996 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.7765, allocations: 153.7 kB / 0.7998 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.7766, allocations: 91.91 kB / 0.7999 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006204/0.7773, allocations: 0.6958 MB / 0.8005 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7773, allocations: 8 kB / 0.8006 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001183/0.7785, allocations: 0.6764 MB / 0.8012 GB, free: 130.8 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.009762/0.7882, allocations: 4.319 MB / 0.8054 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.7996, allocations: 3.648 MB / 0.809 GB, free: 123 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7996, allocations: 0 / 0.809 GB, free: 123 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004152/0.8038, allocations: 1.755 MB / 0.8107 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.8051, allocations: 393.8 kB / 0.8111 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/0.8361, allocations: 16.72 MB / 0.8274 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.8367, allocations: 1.431 MB / 0.8288 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002723/0.8394, allocations: 0.5796 MB / 0.8294 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.8406, allocations: 0.8779 MB / 0.8302 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.8407, allocations: 0 / 0.8302 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5302/1.371, allocations: 42.38 MB / 0.8716 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/20.2, allocations: 15.89 kB / 0.8716 GB, free: 58.82 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)