Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_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.001209/0.001209, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001954/0.001954, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001935/0.001935, allocations: 278.6 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8729/0.8729, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 93.86 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 86.98 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005129/0.1383, allocations: 4.354 MB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3772/0.5155, allocations: 148.2 MB / 0.8285 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.5162, allocations: 15.38 kB / 0.8286 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.5167, allocations: 135.7 kB / 0.8287 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.518, allocations: 439.1 kB / 0.8291 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.5195, allocations: 0.7099 MB / 0.8298 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.5206, allocations: 1.205 MB / 0.831 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/0.5213, allocations: 0.6021 MB / 0.8316 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.5219, allocations: 398.9 kB / 0.8319 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.5225, allocations: 458.8 kB / 0.8324 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.5227, allocations: 58.44 kB / 0.8324 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.5235, allocations: 402.9 kB / 0.8328 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.5237, allocations: 235.2 kB / 0.833 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.5242, allocations: 491.9 kB / 0.8335 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.5256, allocations: 1.504 MB / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5256, allocations: 0 / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5256, allocations: 0 / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.121e-05/0.5256, allocations: 1.344 kB / 0.835 GB, free: 15.95 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002531/0.5282, allocations: 1.422 MB / 0.8364 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5282, allocations: 13.12 kB / 0.8364 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.5284, allocations: 140.7 kB / 0.8365 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/0.5292, allocations: 182.1 kB / 0.8367 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.53, allocations: 0.7329 MB / 0.8374 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.5301, allocations: 71.89 kB / 0.8375 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.5302, allocations: 77.47 kB / 0.8375 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5315, allocations: 0.912 MB / 0.8384 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5316, allocations: 0 / 0.8384 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.5316, allocations: 37.33 kB / 0.8385 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.5317, allocations: 19.91 kB / 0.8385 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.5332, allocations: 1.099 MB / 0.8396 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.5364, allocations: 2.497 MB / 0.842 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5377, allocations: 0.7944 MB / 0.8428 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.5381, allocations: 296.4 kB / 0.8431 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.5382, allocations: 34.34 kB / 0.8431 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007786/0.539, allocations: 0.4955 MB / 0.8436 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.064e-06/0.539, allocations: 0 / 0.8436 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002712/0.5417, allocations: 1.181 MB / 0.8447 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.5418, allocations: 193 kB / 0.8449 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.5424, allocations: 0.6286 MB / 0.8455 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.5425, allocations: 43.39 kB / 0.8456 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.5428, allocations: 396.4 kB / 0.846 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.5429, allocations: 259.2 kB / 0.8462 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.5431, allocations: 146.6 kB / 0.8463 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5433, allocations: 388.8 kB / 0.8467 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.5437, allocations: 246.5 kB / 0.8469 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.5442, allocations: 355.4 kB / 0.8473 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.5452, allocations: 0.5777 MB / 0.8478 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5452, allocations: 3 kB / 0.8479 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001625/0.5468, allocations: 0.8009 MB / 0.8486 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5468, allocations: 4.969 kB / 0.8486 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5468, allocations: 0 / 0.8486 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.5474, allocations: 85.45 kB / 0.8487 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.548, allocations: 160 kB / 0.8489 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.5497, allocations: 1.515 MB / 0.8504 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.5503, allocations: 89.11 kB / 0.8504 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.5504, allocations: 32.45 kB / 0.8505 GB, free: 6.871 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 (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.0003155/0.5507, allocations: 266.9 kB / 0.8507 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.5508, allocations: 86.62 kB / 0.8508 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5529, allocations: 1.059 MB / 0.8518 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.5529, allocations: 11.28 kB / 0.8518 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5529, allocations: 0 / 0.8518 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5529, allocations: 7.922 kB / 0.8519 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.5538, allocations: 0.8989 MB / 0.8527 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5538, allocations: 2.531 kB / 0.8527 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.5543, allocations: 141.5 kB / 0.8529 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.5548, allocations: 78.59 kB / 0.8529 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.5549, allocations: 30.47 kB / 0.853 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.5565, allocations: 1.547 MB / 0.8545 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5565, allocations: 3.938 kB / 0.8545 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.5582, allocations: 0.9182 MB / 0.8554 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.5585, allocations: 276 kB / 0.8557 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5586, allocations: 16.81 kB / 0.8557 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.5592, allocations: 64.75 kB / 0.8557 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.5593, allocations: 72.08 kB / 0.8558 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.5594, allocations: 31.67 kB / 0.8558 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004542/0.5598, allocations: 457.4 kB / 0.8563 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.563e-06/0.5598, allocations: 0 / 0.8563 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006981/0.5606, allocations: 309.1 kB / 0.8566 GB, free: 2.57 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: 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.003081/0.5636, allocations: 1.989 MB / 0.8585 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.565, allocations: 0.7916 MB / 0.8593 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.565, allocations: 4.188 kB / 0.8593 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.5658, allocations: 0.5124 MB / 0.8598 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.5668, allocations: 261 kB / 0.86 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.5774, allocations: 6.816 MB / 0.8667 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.5779, allocations: 1.014 MB / 0.8677 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007381/0.5787, allocations: 268 kB / 0.8679 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.5792, allocations: 377.8 kB / 0.8683 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.764e-06/0.5792, allocations: 0 / 0.8683 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.182/3.761, allocations: 20.13 MB / 0.8879 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005496/3.762, allocations: 337.9 kB / 0.8883 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/5.926, allocations: 0 / 0.8883 GB, free: 9.395 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)