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.005134/0.005134, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001488/0.001488, allocations: 195.2 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.352/1.352, 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.002476/0.002476, allocations: 283.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 178.6 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 95.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3578, allocations: 89.13 MB / 0.7813 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00615/0.364, allocations: 4.847 MB / 0.7861 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.5321, allocations: 150.6 MB / 0.9331 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.5329, allocations: 19.94 kB / 0.9331 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.5335, allocations: 186.2 kB / 0.9333 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.5353, allocations: 0.5482 MB / 0.9339 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.5372, allocations: 0.8286 MB / 0.9347 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.5388, allocations: 1.382 MB / 0.936 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.5397, allocations: 0.571 MB / 0.9366 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.5403, allocations: 486.3 kB / 0.937 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.541, allocations: 0.5017 MB / 0.9375 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.5412, allocations: 116 kB / 0.9376 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009398/0.5421, allocations: 475.6 kB / 0.9381 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.5424, allocations: 299 kB / 0.9384 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.543, allocations: 0.5519 MB / 0.9389 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.545, allocations: 1.63 MB / 0.9405 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.545, allocations: 0 / 0.9405 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/0.545, allocations: 0 / 0.9405 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.545, allocations: 0 / 0.9405 GB, free: 5.105 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00256/0.5476, allocations: 1.467 MB / 0.9419 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5476, allocations: 12.03 kB / 0.942 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5478, allocations: 135.4 kB / 0.9421 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.5487, allocations: 192 kB / 0.9423 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5498, allocations: 0.7621 MB / 0.943 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.5499, allocations: 65.94 kB / 0.9431 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.55, allocations: 83.98 kB / 0.9432 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5517, allocations: 0.9067 MB / 0.944 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5517, allocations: 7.938 kB / 0.944 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.5518, allocations: 39.98 kB / 0.9441 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5518, allocations: 20 kB / 0.9441 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.5537, allocations: 1.1 MB / 0.9452 GB, free: 184 kB / 0.7012 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.004073/0.5578, allocations: 2.701 MB / 0.9478 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5594, allocations: 0.7997 MB / 0.9486 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.5599, allocations: 302.7 kB / 0.9489 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.986e-05/0.56, allocations: 32.67 kB / 0.9489 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/0.5609, allocations: 487.2 kB / 0.9494 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 2.275e-06/0.5609, allocations: 0 / 0.9494 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.003342/0.5643, allocations: 1.204 MB / 0.9506 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5644, allocations: 192.6 kB / 0.9507 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.5653, allocations: 0.6293 MB / 0.9514 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.5653, allocations: 41.7 kB / 0.9514 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5657, allocations: 401 kB / 0.9518 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.5659, allocations: 273.7 kB / 0.952 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.5662, allocations: 150.6 kB / 0.9522 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5664, allocations: 390.7 kB / 0.9526 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.567, allocations: 241.9 kB / 0.9528 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.5676, allocations: 366.5 kB / 0.9531 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5688, allocations: 0.5838 MB / 0.9537 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5688, allocations: 0 / 0.9537 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001996/0.5708, allocations: 0.7985 MB / 0.9545 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5708, allocations: 11.98 kB / 0.9545 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5708, allocations: 0 / 0.9545 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.5714, allocations: 88.72 kB / 0.9546 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.5721, allocations: 151.8 kB / 0.9547 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.5743, allocations: 1.634 MB / 0.9563 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.575, allocations: 94.5 kB / 0.9564 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.5751, allocations: 27.98 kB / 0.9564 GB, free: 4.203 MB / 0.7169 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.0004246/0.5755, allocations: 261.6 kB / 0.9567 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5757, allocations: 87.55 kB / 0.9568 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.5782, allocations: 1.066 MB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5782, allocations: 11.94 kB / 0.9578 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5782, allocations: 0 / 0.9578 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5782, allocations: 7.984 kB / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5793, allocations: 0.8958 MB / 0.9587 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5793, allocations: 0 / 0.9587 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.5799, allocations: 147.8 kB / 0.9588 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/0.5804, allocations: 76.72 kB / 0.9589 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.5805, allocations: 23.98 kB / 0.9589 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.5826, allocations: 1.662 MB / 0.9606 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5826, allocations: 4.062 kB / 0.9606 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.5847, allocations: 0.9243 MB / 0.9615 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.5851, allocations: 276.1 kB / 0.9617 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5852, allocations: 27.98 kB / 0.9618 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.5859, allocations: 55.94 kB / 0.9618 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.586, allocations: 80.83 kB / 0.9619 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.5861, allocations: 31.98 kB / 0.9619 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006128/0.5867, allocations: 459 kB / 0.9624 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5867, allocations: 0 / 0.9624 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000812/0.5876, allocations: 319.2 kB / 0.9627 GB, free: 13.56 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 (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.004118/0.5917, allocations: 1.977 MB / 0.9646 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.5934, allocations: 0.796 MB / 0.9654 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5934, allocations: 4 kB / 0.9654 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.5944, allocations: 0.5199 MB / 0.9659 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.5957, allocations: 297.3 kB / 0.9662 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.606, allocations: 6.143 MB / 0.9722 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.6068, allocations: 1.023 MB / 0.9732 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007869/0.6076, allocations: 266.6 kB / 0.9734 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.6081, allocations: 379.3 kB / 0.9738 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.6081, allocations: 0 / 0.9738 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/0.9394, allocations: 21.52 MB / 0.9948 GB, free: 201.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.69, allocations: 4.344 kB / 0.9948 GB, free: 201.5 MB / 0.7481 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)