Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00121/0.00121, allocations: 109 kB / 16.46 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.001167/0.001167, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.333/1.333, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 134 MB / 436.6 MB, free: 1.652 MB / 334.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/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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 72.69 kB / 0.6051 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1588, allocations: 84.67 MB / 0.6878 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006534/0.1653, allocations: 4.531 MB / 0.6922 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4763/0.6416, allocations: 151.1 MB / 0.8397 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006069/0.6422, allocations: 20.25 kB / 0.8397 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.6427, allocations: 190.1 kB / 0.8399 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.6441, allocations: 0.4895 MB / 0.8404 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.6458, allocations: 0.8362 MB / 0.8412 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.647, allocations: 1.312 MB / 0.8425 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008629/0.6478, allocations: 0.6806 MB / 0.8432 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.6484, allocations: 0.5352 MB / 0.8437 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.6489, allocations: 0.5785 MB / 0.8443 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.6491, allocations: 142.2 kB / 0.8444 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.6497, allocations: 0.4996 MB / 0.8449 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.65, allocations: 353 kB / 0.8452 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.6505, allocations: 0.6427 MB / 0.8458 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.6523, allocations: 1.841 MB / 0.8476 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6523, allocations: 0 / 0.8476 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6523, allocations: 2.5 kB / 0.8476 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6523, allocations: 0 / 0.8476 GB, free: 7.492 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002462/0.6548, allocations: 1.64 MB / 0.8492 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6548, allocations: 9.938 kB / 0.8493 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.655, allocations: 175.7 kB / 0.8494 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.6559, allocations: 217.1 kB / 0.8496 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.6571, allocations: 0.8438 MB / 0.8505 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.6571, allocations: 88.39 kB / 0.8505 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.6572, allocations: 113.2 kB / 0.8506 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.6589, allocations: 1.134 MB / 0.8518 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6589, allocations: 2.781 kB / 0.8518 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.659, allocations: 46.88 kB / 0.8518 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.659, allocations: 28.03 kB / 0.8518 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.6608, allocations: 1.237 MB / 0.853 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.665, allocations: 2.978 MB / 0.8559 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.6662, allocations: 0.7264 MB / 0.8567 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.6666, allocations: 278.6 kB / 0.8569 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/0.6667, allocations: 35.98 kB / 0.857 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007138/0.6674, allocations: 444.1 kB / 0.8574 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 1.893e-06/0.6674, allocations: 0.9375 kB / 0.8574 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.002847/0.6702, allocations: 1.147 MB / 0.8585 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6704, allocations: 192.6 kB / 0.8587 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.6712, allocations: 0.6843 MB / 0.8593 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.6713, allocations: 41.7 kB / 0.8594 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.6717, allocations: 0.5123 MB / 0.8599 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.6719, allocations: 269.7 kB / 0.8601 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6721, allocations: 138.6 kB / 0.8603 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6723, allocations: 337.9 kB / 0.8606 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.6727, allocations: 235.4 kB / 0.8608 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.6733, allocations: 347.3 kB / 0.8612 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.6743, allocations: 0.576 MB / 0.8617 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6743, allocations: 3.938 kB / 0.8617 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001788/0.6761, allocations: 0.7984 MB / 0.8625 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6761, allocations: 4 kB / 0.8625 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6761, allocations: 0 / 0.8625 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.6767, allocations: 80.88 kB / 0.8626 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.6774, allocations: 151.3 kB / 0.8627 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.6795, allocations: 1.639 MB / 0.8643 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.68, allocations: 87.38 kB / 0.8644 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.68, allocations: 27.98 kB / 0.8644 GB, free: 9.371 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.00037/0.6804, allocations: 285.7 kB / 0.8647 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.6806, allocations: 91.38 kB / 0.8648 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6828, allocations: 1.028 MB / 0.8658 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6829, allocations: 8 kB / 0.8658 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6829, allocations: 0 / 0.8658 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.6829, allocations: 3.984 kB / 0.8658 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.684, allocations: 0.9817 MB / 0.8668 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.684, allocations: 0 / 0.8668 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.6846, allocations: 155.7 kB / 0.8669 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.6851, allocations: 72.78 kB / 0.867 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.6851, allocations: 23.98 kB / 0.867 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.687, allocations: 1.666 MB / 0.8686 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.687, allocations: 0 / 0.8686 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.6889, allocations: 0.8893 MB / 0.8695 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.6893, allocations: 272.2 kB / 0.8698 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6894, allocations: 16 kB / 0.8698 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.6899, allocations: 67.06 kB / 0.8698 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.69, allocations: 56.86 kB / 0.8699 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.6901, allocations: 31.98 kB / 0.8699 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005961/0.6907, allocations: 0.4912 MB / 0.8704 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6907, allocations: 0 / 0.8704 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007721/0.6914, allocations: 338.9 kB / 0.8707 GB, free: 2.672 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00384/0.6953, allocations: 1.942 MB / 0.8726 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.6967, allocations: 0.7377 MB / 0.8734 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6967, allocations: 4 kB / 0.8734 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.6976, allocations: 484.2 kB / 0.8738 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6987, allocations: 305.5 kB / 0.8741 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.7098, allocations: 6.684 MB / 0.8806 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.7105, allocations: 1.09 MB / 0.8817 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007733/0.7113, allocations: 262.8 kB / 0.8819 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/0.7119, allocations: 455.2 kB / 0.8824 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.7119, allocations: 0 / 0.8824 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/0.7692, allocations: 22 MB / 0.9039 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.11, allocations: 15.64 kB / 0.9039 GB, free: 0.9727 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.535682945046574] Failed to read output from testmodel.py, exit status != 0: 13.308557180687785 13.322068475 12.667065379 Calling exit ...