Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 173.4 MB / 470.7 MB, free: 13.74 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 69.77 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1898, allocations: 89.52 MB / 0.7352 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007824/0.1977, allocations: 5.974 MB / 0.7411 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6185/0.8163, allocations: 150.9 MB / 0.8884 GB, free: 4.512 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.8173, allocations: 19.88 kB / 0.8884 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.818, allocations: 240.7 kB / 0.8886 GB, free: 4.258 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.82, allocations: 0.627 MB / 0.8893 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.8221, allocations: 0.8735 MB / 0.8901 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.8241, allocations: 1.646 MB / 0.8917 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.8254, allocations: 0.8663 MB / 0.8926 GB, free: 248 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008528/0.8263, allocations: 0.6159 MB / 0.8932 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007792/0.8271, allocations: 0.6534 MB / 0.8938 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.8273, allocations: 152 kB / 0.8939 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.8283, allocations: 0.5191 MB / 0.8945 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.8287, allocations: 370.8 kB / 0.8948 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007055/0.8294, allocations: 0.7385 MB / 0.8955 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.8318, allocations: 2.049 MB / 0.8975 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8319, allocations: 0 / 0.8975 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8319, allocations: 0 / 0.8975 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.8319, allocations: 4 kB / 0.8975 GB, free: 11.14 MB / 0.6856 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.002989/0.8349, allocations: 1.761 MB / 0.8993 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8349, allocations: 15.97 kB / 0.8993 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.8352, allocations: 181.8 kB / 0.8994 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009427/0.8361, allocations: 227.9 kB / 0.8997 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.8374, allocations: 0.8725 MB / 0.9005 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.8375, allocations: 90.41 kB / 0.9006 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.8377, allocations: 119.9 kB / 0.9007 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.8398, allocations: 1.206 MB / 0.9019 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.8398, allocations: 0 / 0.9019 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8399, allocations: 52 kB / 0.9019 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.84, allocations: 28 kB / 0.902 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.8422, allocations: 1.286 MB / 0.9032 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005228/0.8475, allocations: 3.706 MB / 0.9068 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.8492, allocations: 0.8686 MB / 0.9077 GB, free: 356 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.8499, allocations: 323.6 kB / 0.908 GB, free: 28 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.766e-05/0.85, allocations: 32.64 kB / 0.908 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009505/0.851, allocations: 0.5197 MB / 0.9085 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 2.224e-06/0.851, allocations: 0 / 0.9085 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003563/0.8546, allocations: 1.292 MB / 0.9098 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.8547, allocations: 197 kB / 0.91 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.8557, allocations: 0.7314 MB / 0.9107 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/0.8558, allocations: 45.69 kB / 0.9107 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.8563, allocations: 0.5291 MB / 0.9113 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.8565, allocations: 301.4 kB / 0.9115 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.8568, allocations: 158.6 kB / 0.9117 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.857, allocations: 333.9 kB / 0.912 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.8575, allocations: 269.9 kB / 0.9123 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.8582, allocations: 390.5 kB / 0.9126 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.8596, allocations: 0.6398 MB / 0.9133 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.8596, allocations: 0 / 0.9133 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002035/0.8616, allocations: 0.8764 MB / 0.9141 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.8617, allocations: 5.5 kB / 0.9141 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8617, allocations: 3.625 kB / 0.9141 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.8624, allocations: 88.8 kB / 0.9142 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.8631, allocations: 163.7 kB / 0.9144 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.8654, allocations: 1.627 MB / 0.916 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.8661, allocations: 99.36 kB / 0.9161 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.8661, allocations: 31.98 kB / 0.9161 GB, free: 7.422 MB / 0.7012 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.000493/0.8666, allocations: 305.5 kB / 0.9164 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.8668, allocations: 99.39 kB / 0.9165 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.8696, allocations: 1.128 MB / 0.9176 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.8696, allocations: 15.5 kB / 0.9176 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.8696, allocations: 0 / 0.9176 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.8696, allocations: 3.984 kB / 0.9176 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.8709, allocations: 1.053 MB / 0.9186 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8709, allocations: 0 / 0.9186 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.8716, allocations: 155.7 kB / 0.9188 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.872, allocations: 72.78 kB / 0.9188 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.8721, allocations: 27.98 kB / 0.9189 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.8741, allocations: 1.658 MB / 0.9205 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8741, allocations: 4 kB / 0.9205 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.8764, allocations: 0.9907 MB / 0.9215 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.8768, allocations: 296.1 kB / 0.9217 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.877, allocations: 24 kB / 0.9218 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/0.8776, allocations: 66.09 kB / 0.9218 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.8778, allocations: 76.83 kB / 0.9219 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.8779, allocations: 39.97 kB / 0.9219 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006946/0.8786, allocations: 0.5185 MB / 0.9224 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8786, allocations: 0 / 0.9224 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009109/0.8795, allocations: 390.8 kB / 0.9228 GB, free: 296 kB / 0.7012 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.004321/0.8838, allocations: 2.043 MB / 0.9248 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.8857, allocations: 0.8587 MB / 0.9257 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8857, allocations: 0 / 0.9257 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009871/0.8867, allocations: 0.547 MB / 0.9262 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.888, allocations: 325.7 kB / 0.9265 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.9002, allocations: 7.07 MB / 0.9334 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.9011, allocations: 1.11 MB / 0.9345 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009649/0.9021, allocations: 287.6 kB / 0.9348 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.9028, allocations: 483.2 kB / 0.9352 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of SimCode: time 7.624e-06/0.9028, allocations: 0 / 0.9352 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06595/0.9687, allocations: 24.14 MB / 0.9588 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.96, allocations: 9.125 kB / 0.9588 GB, free: 11.76 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.91642584092915] Failed to read output from testmodel.py, exit status != 0: 14.164456445956603 14.188351237000001 13.351907394 Calling exit ...