Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001007/0.001006, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.00104/0.00104, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.2/1.2, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6964/0.6964, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2747, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004944/0.2797, allocations: 4.835 MB / 0.572 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1342/0.4139, allocations: 150.6 MB / 0.7191 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.4147, allocations: 19.88 kB / 0.7191 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.4152, allocations: 194.2 kB / 0.7193 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4167, allocations: 0.5385 MB / 0.7198 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4184, allocations: 0.8334 MB / 0.7206 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009873/0.4194, allocations: 1.366 MB / 0.722 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.4202, allocations: 0.5715 MB / 0.7225 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.4206, allocations: 478.4 kB / 0.723 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.4211, allocations: 0.5017 MB / 0.7235 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.4212, allocations: 115.9 kB / 0.7236 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.4219, allocations: 459.7 kB / 0.724 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.4221, allocations: 287.1 kB / 0.7243 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.4226, allocations: 0.5596 MB / 0.7248 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.4239, allocations: 1.589 MB / 0.7264 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4239, allocations: 0 / 0.7264 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4239, allocations: 0 / 0.7264 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.4239, allocations: 4 kB / 0.7264 GB, free: 7.348 MB / 0.5606 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.002118/0.4261, allocations: 1.422 MB / 0.7278 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4261, allocations: 12.62 kB / 0.7278 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.4262, allocations: 135.3 kB / 0.7279 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008438/0.4271, allocations: 187.4 kB / 0.7281 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.428, allocations: 0.738 MB / 0.7288 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.428, allocations: 66 kB / 0.7289 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.4281, allocations: 76 kB / 0.7289 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4295, allocations: 0.9183 MB / 0.7298 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4295, allocations: 0 / 0.7298 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.4296, allocations: 36 kB / 0.7299 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4296, allocations: 20 kB / 0.7299 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.4312, allocations: 1.108 MB / 0.731 GB, free: 2.496 MB / 0.5606 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.003347/0.4345, allocations: 2.689 MB / 0.7336 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.4359, allocations: 0.8029 MB / 0.7344 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.4363, allocations: 298.7 kB / 0.7347 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.4364, allocations: 36.59 kB / 0.7347 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.4372, allocations: 495 kB / 0.7352 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.874e-06/0.4372, allocations: 0 / 0.7352 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002884/0.4401, allocations: 1.19 MB / 0.7363 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.4401, allocations: 192.6 kB / 0.7365 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.4408, allocations: 0.6331 MB / 0.7371 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.4408, allocations: 45.7 kB / 0.7372 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.4411, allocations: 392.4 kB / 0.7376 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.4413, allocations: 264.2 kB / 0.7378 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.4415, allocations: 146.5 kB / 0.738 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4416, allocations: 390.7 kB / 0.7383 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.4421, allocations: 249.9 kB / 0.7386 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.4426, allocations: 358.5 kB / 0.7389 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/0.4436, allocations: 0.5838 MB / 0.7395 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4436, allocations: 0 / 0.7395 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00172/0.4454, allocations: 0.8019 MB / 0.7403 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4454, allocations: 8 kB / 0.7403 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4454, allocations: 0 / 0.7403 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.446, allocations: 84.84 kB / 0.7403 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.4465, allocations: 155.8 kB / 0.7405 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4484, allocations: 1.638 MB / 0.7421 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.4489, allocations: 87.23 kB / 0.7422 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.449, allocations: 31.97 kB / 0.7422 GB, free: 6.535 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.000302/0.4493, allocations: 266.2 kB / 0.7425 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4495, allocations: 83.06 kB / 0.7425 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.4516, allocations: 1.058 MB / 0.7436 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4517, allocations: 12 kB / 0.7436 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4517, allocations: 3.938 kB / 0.7436 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4517, allocations: 7.984 kB / 0.7436 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008491/0.4525, allocations: 0.8918 MB / 0.7445 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4526, allocations: 0 / 0.7445 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4531, allocations: 147.8 kB / 0.7446 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.4535, allocations: 76.81 kB / 0.7447 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.4536, allocations: 23.98 kB / 0.7447 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.4553, allocations: 1.662 MB / 0.7463 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4553, allocations: 0 / 0.7463 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.457, allocations: 0.9201 MB / 0.7472 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.4573, allocations: 271.7 kB / 0.7475 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4575, allocations: 20 kB / 0.7475 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.4581, allocations: 65.97 kB / 0.7476 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.4582, allocations: 80.77 kB / 0.7476 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.4583, allocations: 27.98 kB / 0.7477 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004567/0.4587, allocations: 463 kB / 0.7481 GB, free: 232 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4587, allocations: 3.938 kB / 0.7481 GB, free: 228 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1897/0.6484, allocations: 311.6 kB / 0.7484 GB, free: 170.9 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.003392/0.6519, allocations: 1.971 MB / 0.7503 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.654, allocations: 0.9954 MB / 0.7513 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.654, allocations: 0.9062 kB / 0.7513 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.6549, allocations: 0.5242 MB / 0.7518 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.656, allocations: 307.6 kB / 0.7521 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.6648, allocations: 6.347 MB / 0.7583 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.6652, allocations: 1.02 MB / 0.7593 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007663/0.666, allocations: 262.5 kB / 0.7596 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.6664, allocations: 381.6 kB / 0.7599 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.6664, allocations: 0 / 0.7599 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.7052, allocations: 21.24 MB / 0.7807 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.94, allocations: 11.02 kB / 0.7807 GB, free: 154.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)