Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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/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.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001077/0.001077, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003383/0.003383, allocations: 294.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 97.53 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1448, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00563/0.1505, allocations: 4.745 MB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4475/0.5981, allocations: 148.5 MB / 0.8293 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.5988, allocations: 20.31 kB / 0.8294 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.5993, allocations: 149 kB / 0.8295 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.6008, allocations: 484.7 kB / 0.83 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.6024, allocations: 0.7598 MB / 0.8307 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.6035, allocations: 1.453 MB / 0.8321 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009755/0.6045, allocations: 0.9179 MB / 0.833 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006579/0.6052, allocations: 0.5872 MB / 0.8336 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.6057, allocations: 0.6284 MB / 0.8342 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.6059, allocations: 153.5 kB / 0.8344 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.6068, allocations: 498.5 kB / 0.8348 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.607, allocations: 372.3 kB / 0.8352 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.6075, allocations: 0.6979 MB / 0.8359 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.6091, allocations: 1.923 MB / 0.8377 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6091, allocations: 3.688 kB / 0.8377 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6092, allocations: 0.8125 kB / 0.8377 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.6092, allocations: 4 kB / 0.8378 GB, free: 15.22 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00267/0.6119, allocations: 1.681 MB / 0.8394 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6119, allocations: 9.562 kB / 0.8394 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.6121, allocations: 179.8 kB / 0.8396 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.613, allocations: 222.5 kB / 0.8398 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.614, allocations: 0.8507 MB / 0.8406 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.6141, allocations: 88.28 kB / 0.8407 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6142, allocations: 117 kB / 0.8408 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6161, allocations: 1.201 MB / 0.842 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.6162, allocations: 1.156 kB / 0.842 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6163, allocations: 50.91 kB / 0.842 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.6163, allocations: 31.69 kB / 0.8421 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.6182, allocations: 1.284 MB / 0.8433 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.6229, allocations: 3.164 MB / 0.8464 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6243, allocations: 0.8661 MB / 0.8473 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.6248, allocations: 327.4 kB / 0.8476 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/0.6249, allocations: 36.81 kB / 0.8476 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008616/0.6258, allocations: 0.5071 MB / 0.8481 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 2.004e-06/0.6258, allocations: 0 / 0.8481 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003127/0.6289, allocations: 1.287 MB / 0.8494 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.629, allocations: 194.7 kB / 0.8495 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.6299, allocations: 0.7305 MB / 0.8503 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.63, allocations: 44.55 kB / 0.8503 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.6303, allocations: 0.5157 MB / 0.8508 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.6305, allocations: 285.7 kB / 0.8511 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.6307, allocations: 158.7 kB / 0.8512 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6309, allocations: 335.2 kB / 0.8515 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.6313, allocations: 273.9 kB / 0.8518 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.6319, allocations: 391.2 kB / 0.8522 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6329, allocations: 0.6296 MB / 0.8528 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6329, allocations: 0 / 0.8528 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001814/0.6347, allocations: 0.861 MB / 0.8536 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6348, allocations: 5.812 kB / 0.8536 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6348, allocations: 6.344 kB / 0.8536 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.6354, allocations: 87.42 kB / 0.8537 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.636, allocations: 169.8 kB / 0.8539 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.6379, allocations: 1.628 MB / 0.8555 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.6386, allocations: 99.2 kB / 0.8556 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.6387, allocations: 32.41 kB / 0.8556 GB, free: 3.918 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: 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 (96): * Single equations (assignments): 95 * 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.0004727/0.6392, allocations: 298.9 kB / 0.8559 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.6394, allocations: 92.62 kB / 0.856 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.6416, allocations: 1.134 MB / 0.8571 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6416, allocations: 14.09 kB / 0.8571 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6416, allocations: 0 / 0.8571 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6417, allocations: 4.078 kB / 0.8571 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6427, allocations: 1.053 MB / 0.8581 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6427, allocations: 0 / 0.8581 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.6433, allocations: 151.7 kB / 0.8583 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.6437, allocations: 78.66 kB / 0.8584 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.6438, allocations: 26.86 kB / 0.8584 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.6455, allocations: 1.66 MB / 0.86 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.6455, allocations: 2.438 kB / 0.86 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6473, allocations: 0.983 MB / 0.861 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.6476, allocations: 286.6 kB / 0.8612 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6478, allocations: 26.62 kB / 0.8613 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.6484, allocations: 72.52 kB / 0.8613 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6485, allocations: 72.09 kB / 0.8614 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.6486, allocations: 41.19 kB / 0.8614 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005484/0.6492, allocations: 0.5159 MB / 0.8619 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6492, allocations: 0 / 0.8619 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007801/0.6499, allocations: 351.2 kB / 0.8623 GB, free: 15.25 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 (98): * Single equations (assignments): 92 * 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.003228/0.6532, allocations: 2.043 MB / 0.8643 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.6554, allocations: 1.072 MB / 0.8653 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6554, allocations: 0 / 0.8653 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.6563, allocations: 0.537 MB / 0.8658 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.6575, allocations: 317.9 kB / 0.8661 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.6705, allocations: 7.997 MB / 0.874 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.6712, allocations: 1.106 MB / 0.875 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009013/0.6721, allocations: 271.4 kB / 0.8753 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.6727, allocations: 487.2 kB / 0.8758 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6727, allocations: 0 / 0.8758 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.535/6.207, allocations: 22.86 MB / 0.8981 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/6.208, allocations: 319.5 kB / 0.8984 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/8.896, allocations: 2.812 kB / 0.8984 GB, free: 15.19 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)