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.001418/0.001418, allocations: 105 kB / 16.45 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.001505/0.001505, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.117/1.117, allocations: 175.8 MB / 478.4 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 178] 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.002762/0.002762, allocations: 67.83 kB / 0.6652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2392, allocations: 94.54 MB / 0.7575 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.3915/0.6307, allocations: 5.994 MB / 0.7634 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1805/0.8112, allocations: 151.3 MB / 0.9111 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.813, allocations: 23.88 kB / 0.9111 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.8139, allocations: 241.7 kB / 0.9114 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.817, allocations: 0.6337 MB / 0.912 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.8195, allocations: 0.8757 MB / 0.9128 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.822, allocations: 1.643 MB / 0.9145 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.8231, allocations: 0.6047 MB / 0.915 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8241, allocations: 0.615 MB / 0.9156 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009683/0.8251, allocations: 0.6613 MB / 0.9163 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.8254, allocations: 152 kB / 0.9164 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.8267, allocations: 0.5151 MB / 0.9169 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.8271, allocations: 370.9 kB / 0.9173 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.8278, allocations: 0.7385 MB / 0.918 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.8307, allocations: 2.045 MB / 0.92 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.8307, allocations: 4 kB / 0.92 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8307, allocations: 3.938 kB / 0.92 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.8308, allocations: 0 / 0.92 GB, free: 1.562 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.003234/0.834, allocations: 1.761 MB / 0.9217 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.834, allocations: 8.031 kB / 0.9217 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.8342, allocations: 185.8 kB / 0.9219 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/0.8352, allocations: 231.8 kB / 0.9221 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.8368, allocations: 0.8759 MB / 0.923 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.8368, allocations: 88.22 kB / 0.9231 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.837, allocations: 116 kB / 0.9232 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.8391, allocations: 1.198 MB / 0.9244 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.8391, allocations: 4 kB / 0.9244 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.8393, allocations: 52 kB / 0.9244 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.8393, allocations: 32 kB / 0.9244 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.8415, allocations: 1.285 MB / 0.9257 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.8472, allocations: 3.713 MB / 0.9293 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.8489, allocations: 0.8159 MB / 0.9301 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.8495, allocations: 306.5 kB / 0.9304 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.8496, allocations: 32.61 kB / 0.9304 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.8505, allocations: 0.512 MB / 0.9309 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.8505, allocations: 0 / 0.9309 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87): time 0.003573/0.8541, allocations: 1.292 MB / 0.9322 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.8542, allocations: 196.9 kB / 0.9324 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.8553, allocations: 0.7353 MB / 0.9331 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.8554, allocations: 45.7 kB / 0.9332 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.8559, allocations: 0.5203 MB / 0.9337 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.8562, allocations: 301.4 kB / 0.934 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.8565, allocations: 158.6 kB / 0.9341 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8566, allocations: 338 kB / 0.9344 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.8572, allocations: 275 kB / 0.9347 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.8579, allocations: 382.5 kB / 0.9351 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.8592, allocations: 0.6359 MB / 0.9357 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.8592, allocations: 0 / 0.9357 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002175/0.8614, allocations: 0.8764 MB / 0.9365 GB, free: 84 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.8614, allocations: 7.938 kB / 0.9365 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8614, allocations: 0 / 0.9365 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.862, allocations: 84.86 kB / 0.9366 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.8628, allocations: 167.8 kB / 0.9368 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8652, allocations: 1.631 MB / 0.9384 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.8661, allocations: 106.8 kB / 0.9385 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.8662, allocations: 35.91 kB / 0.9385 GB, free: 13.91 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.0005812/0.8668, allocations: 294.2 kB / 0.9388 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.867, allocations: 99.39 kB / 0.9389 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.8696, allocations: 1.124 MB / 0.94 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.8696, allocations: 8 kB / 0.94 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8696, allocations: 0 / 0.94 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.8697, allocations: 3.984 kB / 0.94 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.8712, allocations: 1.06 MB / 0.941 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8712, allocations: 4 kB / 0.941 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.8718, allocations: 163.8 kB / 0.9412 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.8723, allocations: 76.72 kB / 0.9413 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.8724, allocations: 31.91 kB / 0.9413 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.8747, allocations: 1.646 MB / 0.9429 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8747, allocations: 4.062 kB / 0.9429 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.877, allocations: 0.9946 MB / 0.9439 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.8776, allocations: 288.1 kB / 0.9442 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.8778, allocations: 20 kB / 0.9442 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.8784, allocations: 67.86 kB / 0.9442 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.8786, allocations: 76.89 kB / 0.9443 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.8786, allocations: 31.98 kB / 0.9443 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007511/0.8794, allocations: 0.5185 MB / 0.9448 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8794, allocations: 0 / 0.9448 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001068/0.8805, allocations: 390.8 kB / 0.9452 GB, free: 6.785 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.004354/0.8848, allocations: 2.052 MB / 0.9472 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.8867, allocations: 0.8234 MB / 0.948 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8867, allocations: 4 kB / 0.948 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.8876, allocations: 0.512 MB / 0.9485 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.8889, allocations: 321.8 kB / 0.9488 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.9012, allocations: 7.081 MB / 0.9558 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.9021, allocations: 1.106 MB / 0.9568 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009669/0.903, allocations: 295.6 kB / 0.9571 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.9037, allocations: 479.2 kB / 0.9576 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.9037, allocations: 0 / 0.9576 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/0.9704, allocations: 24.29 MB / 0.9813 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.79, allocations: 8.062 kB / 0.9813 GB, free: 2.133 MB / 0.7637 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 18.885644706897438] Failed to read output from testmodel.py, exit status != 0: 15.00970236910507 15.022932968 14.189141959 Calling exit ...