Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001226/0.001226, allocations: 108.7 kB / 16.41 MB, free: 6.5 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.001206/0.001206, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.328/1.328, 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.041/1.041, allocations: 173.4 MB / 470.7 MB, free: 13.61 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 77.69 kB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1853, allocations: 89.52 MB / 0.7353 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003097/0.1885, allocations: 1.854 MB / 0.7371 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.1928, allocations: 3.536 MB / 0.7405 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.1929, allocations: 0 / 0.7405 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.1937, allocations: 183.5 kB / 0.7407 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1939, allocations: 63.55 kB / 0.7408 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.709e-05/0.1939, allocations: 23.97 kB / 0.7408 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.1944, allocations: 267.1 kB / 0.741 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.1945, allocations: 25.56 kB / 0.7411 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1946, allocations: 79.69 kB / 0.7411 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1948, allocations: 75.67 kB / 0.7412 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1948, allocations: 8 kB / 0.7412 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.1949, allocations: 27.92 kB / 0.7412 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.195, allocations: 47.83 kB / 0.7413 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.1951, allocations: 87.47 kB / 0.7414 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1954, allocations: 187 kB / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1954, allocations: 0 / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1954, allocations: 0 / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1954, allocations: 4 kB / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008844/0.1963, allocations: 0.5253 MB / 0.7421 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1963, allocations: 12.03 kB / 0.7421 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.1964, allocations: 38.73 kB / 0.7421 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1965, allocations: 24.8 kB / 0.7421 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1968, allocations: 243.9 kB / 0.7424 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1968, allocations: 7.938 kB / 0.7424 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1969, allocations: 11.92 kB / 0.7424 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1972, allocations: 137.6 kB / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1972, allocations: 0 / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1972, allocations: 0 / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.1973, allocations: 15.98 kB / 0.7425 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1977, allocations: 131.9 kB / 0.7427 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.1984, allocations: 448.5 kB / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.1989, allocations: 162.5 kB / 0.7432 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1992, allocations: 104.8 kB / 0.7433 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1992, allocations: 4 kB / 0.7433 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1992, allocations: 38.56 kB / 0.7434 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1992, allocations: 0 / 0.7434 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008521/0.2001, allocations: 281.5 kB / 0.7436 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2002, allocations: 63.34 kB / 0.7437 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.2004, allocations: 230.6 kB / 0.7439 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2004, allocations: 37.69 kB / 0.744 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.2005, allocations: 128.1 kB / 0.7441 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.2006, allocations: 51.53 kB / 0.7441 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.2007, allocations: 33.64 kB / 0.7442 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2008, allocations: 334.8 kB / 0.7445 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2011, allocations: 75.88 kB / 0.7446 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2013, allocations: 74.56 kB / 0.7446 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.2017, allocations: 152.8 kB / 0.7448 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2017, allocations: 0 / 0.7448 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005265/0.2023, allocations: 217.4 kB / 0.745 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2023, allocations: 4 kB / 0.745 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2023, allocations: 0 / 0.745 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2023, allocations: 0 / 0.745 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2026, allocations: 39.95 kB / 0.745 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2026, allocations: 11.94 kB / 0.745 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2027, allocations: 15.98 kB / 0.7451 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2028, allocations: 0 / 0.7451 GB, free: 7.926 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.2029, allocations: 149 kB / 0.7452 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.203, allocations: 19.86 kB / 0.7452 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.203, allocations: 29.84 kB / 0.7452 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.203, allocations: 0 / 0.7452 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.203, allocations: 7.922 kB / 0.7453 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.203, allocations: 4 kB / 0.7453 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.2034, allocations: 261.4 kB / 0.7455 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2034, allocations: 0 / 0.7455 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.2036, allocations: 39.95 kB / 0.7455 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2036, allocations: 0 / 0.7455 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2036, allocations: 4 kB / 0.7455 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2036, allocations: 0 / 0.7455 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2036, allocations: 7.938 kB / 0.7456 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.2042, allocations: 314.3 kB / 0.7459 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2043, allocations: 112.9 kB / 0.746 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2044, allocations: 0 / 0.746 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2045, allocations: 19.98 kB / 0.746 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.2046, allocations: 11.92 kB / 0.746 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2046, allocations: 7.984 kB / 0.746 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001506/0.2048, allocations: 170 kB / 0.7462 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2048, allocations: 0 / 0.7462 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002631/0.2051, allocations: 40 kB / 0.7462 GB, free: 6.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000934/0.206, allocations: 0.8528 MB / 0.747 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.2066, allocations: 171.8 kB / 0.7472 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2066, allocations: 0 / 0.7472 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.2068, allocations: 87.88 kB / 0.7473 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2073, allocations: 60.39 kB / 0.7473 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.2106, allocations: 2.335 MB / 0.7496 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.211, allocations: 0.7396 MB / 0.7503 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.2111, allocations: 49.03 kB / 0.7504 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.2113, allocations: 59.41 kB / 0.7504 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.2113, allocations: 0 / 0.7504 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3572/0.5685, allocations: 4.534 MB / 0.7549 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.675, allocations: 9.062 kB / 0.7549 GB, free: 18.75 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.234828231390566] Failed to read output from testmodel.py, exit status != 0: 8.741671601310372 8.759285727 8.560428092 Calling exit ...