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.005498/0.005497, allocations: 101 kB / 15.73 MB, free: 6.059 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.001527/0.001527, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 292.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 99.84 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3851, allocations: 89.12 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007044/0.3921, allocations: 5.961 MB / 0.7871 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.562, allocations: 150.9 MB / 0.9344 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5632, allocations: 23.88 kB / 0.9345 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.564, allocations: 233.7 kB / 0.9347 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.5664, allocations: 0.6307 MB / 0.9353 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.5686, allocations: 0.8766 MB / 0.9362 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.5708, allocations: 1.646 MB / 0.9378 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.572, allocations: 0.8696 MB / 0.9386 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.5728, allocations: 0.6111 MB / 0.9392 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.5737, allocations: 0.6612 MB / 0.9399 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.5739, allocations: 156 kB / 0.94 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5749, allocations: 0.5113 MB / 0.9405 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.5753, allocations: 370.8 kB / 0.9409 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.576, allocations: 0.7307 MB / 0.9416 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.5785, allocations: 2.049 MB / 0.9436 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5785, allocations: 0 / 0.9436 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5785, allocations: 0 / 0.9436 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.5785, allocations: 4 kB / 0.9436 GB, free: 1.891 MB / 0.7012 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.003053/0.5816, allocations: 1.765 MB / 0.9453 GB, free: 72 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5816, allocations: 8.031 kB / 0.9453 GB, free: 64 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.5819, allocations: 177.9 kB / 0.9455 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.5828, allocations: 235.8 kB / 0.9457 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.5842, allocations: 0.8797 MB / 0.9466 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.5843, allocations: 90.41 kB / 0.9467 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.5845, allocations: 112 kB / 0.9468 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5865, allocations: 1.202 MB / 0.9479 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.5865, allocations: 0 / 0.9479 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5866, allocations: 52 kB / 0.948 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.5867, allocations: 35.94 kB / 0.948 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.5889, allocations: 1.285 MB / 0.9493 GB, free: 11.88 MB / 0.7169 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.005201/0.5941, allocations: 3.559 MB / 0.9527 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.5958, allocations: 0.8627 MB / 0.9536 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.5964, allocations: 326.7 kB / 0.9539 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.5965, allocations: 28.62 kB / 0.9539 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.5975, allocations: 0.5291 MB / 0.9544 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.5976, allocations: 0 / 0.9544 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87): time 0.00353/0.6011, allocations: 1.283 MB / 0.9557 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.6012, allocations: 196.9 kB / 0.9559 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.6023, allocations: 0.7391 MB / 0.9566 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.6024, allocations: 45.7 kB / 0.9567 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.6029, allocations: 0.5281 MB / 0.9572 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.6031, allocations: 293.5 kB / 0.9574 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.6034, allocations: 162.6 kB / 0.9576 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6036, allocations: 334 kB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.6042, allocations: 269.9 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.6049, allocations: 394.5 kB / 0.9586 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.6061, allocations: 0.6321 MB / 0.9592 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.6061, allocations: 8 kB / 0.9592 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002098/0.6082, allocations: 0.8725 MB / 0.96 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6083, allocations: 11.94 kB / 0.96 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6083, allocations: 0 / 0.96 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6089, allocations: 84.86 kB / 0.9601 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.6096, allocations: 163.8 kB / 0.9603 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.6118, allocations: 1.626 MB / 0.9619 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.6126, allocations: 102.2 kB / 0.962 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.6126, allocations: 35.97 kB / 0.962 GB, free: 14.34 MB / 0.7325 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.0005054/0.6132, allocations: 295.5 kB / 0.9623 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.6133, allocations: 103.4 kB / 0.9624 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.6159, allocations: 1.126 MB / 0.9635 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.616, allocations: 12.05 kB / 0.9635 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.616, allocations: 3.938 kB / 0.9635 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.616, allocations: 3.984 kB / 0.9635 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.6173, allocations: 1.06 MB / 0.9645 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6174, allocations: 0 / 0.9645 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/0.618, allocations: 159.8 kB / 0.9647 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/0.6185, allocations: 64.8 kB / 0.9647 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.6185, allocations: 35.84 kB / 0.9648 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.6206, allocations: 1.658 MB / 0.9664 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6206, allocations: 0 / 0.9664 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.6229, allocations: 0.9907 MB / 0.9674 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.6233, allocations: 296.1 kB / 0.9677 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6235, allocations: 20 kB / 0.9677 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.6241, allocations: 71.86 kB / 0.9677 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6243, allocations: 72.89 kB / 0.9678 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.6244, allocations: 35.98 kB / 0.9678 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007395/0.6251, allocations: 0.5185 MB / 0.9683 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6251, allocations: 0 / 0.9683 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009201/0.6261, allocations: 386.9 kB / 0.9687 GB, free: 7.199 MB / 0.7325 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.004318/0.6304, allocations: 2.038 MB / 0.9707 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.6323, allocations: 0.8625 MB / 0.9716 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6323, allocations: 0 / 0.9716 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.6333, allocations: 0.547 MB / 0.9721 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6346, allocations: 330.7 kB / 0.9724 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.6466, allocations: 7.067 MB / 0.9793 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.6474, allocations: 1.11 MB / 0.9804 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009483/0.6484, allocations: 295.5 kB / 0.9807 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006908/0.6491, allocations: 483.2 kB / 0.9811 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.6491, allocations: 0 / 0.9811 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/1.045, allocations: 24.19 MB / 1.005 GB, free: 195.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.97, allocations: 8.469 kB / 1.005 GB, free: 195.7 MB / 0.7481 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)