Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001541/0.001541, allocations: 110.2 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.001525/0.001525, allocations: 191.7 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.357/1.357, 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.047/1.047, allocations: 173.4 MB / 470.7 MB, free: 13.59 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.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.16 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2016, allocations: 89.52 MB / 0.7353 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003617/0.2053, allocations: 2.153 MB / 0.7374 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.2108, allocations: 4.085 MB / 0.7414 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.211, allocations: 4 kB / 0.7414 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.2119, allocations: 195 kB / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.2121, allocations: 75.34 kB / 0.7416 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.2129, allocations: 290 kB / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.2136, allocations: 434.7 kB / 0.7423 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2137, allocations: 56.72 kB / 0.7424 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2139, allocations: 131.5 kB / 0.7425 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2141, allocations: 155.3 kB / 0.7426 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.2142, allocations: 20 kB / 0.7427 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.2147, allocations: 327.5 kB / 0.743 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2149, allocations: 111.6 kB / 0.7431 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2151, allocations: 167 kB / 0.7432 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.2158, allocations: 0.5758 MB / 0.7438 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2158, allocations: 4 kB / 0.7438 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.53e-06/0.2159, allocations: 0 / 0.7438 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2159, allocations: 3.938 kB / 0.7438 GB, free: 9.43 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001506/0.2174, allocations: 0.8107 MB / 0.7446 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2174, allocations: 8.031 kB / 0.7446 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.2175, allocations: 46.73 kB / 0.7446 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009743/0.2185, allocations: 184.4 kB / 0.7448 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.2193, allocations: 394.2 kB / 0.7452 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2194, allocations: 8 kB / 0.7452 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.2194, allocations: 8 kB / 0.7452 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.2201, allocations: 253.4 kB / 0.7455 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2202, allocations: 0 / 0.7455 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.2202, allocations: 15.92 kB / 0.7455 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2202, allocations: 3.938 kB / 0.7455 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2213, allocations: 331.7 kB / 0.7458 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2228, allocations: 0.6837 MB / 0.7465 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.2234, allocations: 210.4 kB / 0.7467 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.224, allocations: 181 kB / 0.7468 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.296e-05/0.2241, allocations: 19.98 kB / 0.7468 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2241, allocations: 38.56 kB / 0.7469 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2241, allocations: 4 kB / 0.7469 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001898/0.226, allocations: 0.5674 MB / 0.7474 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2261, allocations: 55.41 kB / 0.7475 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.2266, allocations: 433.9 kB / 0.7479 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2266, allocations: 33.7 kB / 0.7479 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2268, allocations: 184.6 kB / 0.7481 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.2268, allocations: 51.56 kB / 0.7482 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.227, allocations: 49.67 kB / 0.7482 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2271, allocations: 350.8 kB / 0.7485 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.2278, allocations: 296 kB / 0.7488 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.2285, allocations: 300.2 kB / 0.7491 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.2298, allocations: 0.5042 MB / 0.7496 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2298, allocations: 0 / 0.7496 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001546/0.2314, allocations: 0.7188 MB / 0.7503 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.2315, allocations: 41.69 kB / 0.7503 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2315, allocations: 4 kB / 0.7504 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.2315, allocations: 7.938 kB / 0.7504 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.232, allocations: 63.92 kB / 0.7504 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.232, allocations: 7.938 kB / 0.7504 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.2324, allocations: 51.78 kB / 0.7505 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.2324, allocations: 8 kB / 0.7505 GB, free: 2.316 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001954/0.2326, allocations: 161.8 kB / 0.7506 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.2327, allocations: 35.77 kB / 0.7507 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.234, allocations: 444.8 kB / 0.7511 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.234, allocations: 3.938 kB / 0.7511 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2341, allocations: 0 / 0.7511 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2341, allocations: 0 / 0.7511 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2345, allocations: 373.3 kB / 0.7515 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2345, allocations: 0 / 0.7515 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.2349, allocations: 67.91 kB / 0.7515 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2349, allocations: 0 / 0.7515 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.235, allocations: 4 kB / 0.7515 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.235, allocations: 3.938 kB / 0.7515 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.235, allocations: 4 kB / 0.7515 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2363, allocations: 0.5051 MB / 0.752 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2364, allocations: 136.8 kB / 0.7522 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.2365, allocations: 4 kB / 0.7522 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.2369, allocations: 43.88 kB / 0.7522 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.237, allocations: 15.98 kB / 0.7522 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.237, allocations: 3.984 kB / 0.7522 GB, free: 448 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003298/0.2373, allocations: 307.1 kB / 0.7525 GB, free: 144 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 0.7525 GB, free: 144 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004994/0.2378, allocations: 123.8 kB / 0.7526 GB, free: 20 kB / 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.3926/0.6304, allocations: 1.108 MB / 0.7537 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.632, allocations: 0.6761 MB / 0.7544 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6321, allocations: 1.281 kB / 0.7544 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.6327, allocations: 190.6 kB / 0.7546 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.6333, allocations: 57.34 kB / 0.7546 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.6406, allocations: 5.217 MB / 0.7597 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.6408, allocations: 0.797 MB / 0.7605 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.6411, allocations: 58.27 kB / 0.7605 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.6413, allocations: 116 kB / 0.7607 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6413, allocations: 0 / 0.7607 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.6755, allocations: 9.113 MB / 0.7696 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/9.059, allocations: 4.844 kB / 0.7696 GB, free: 15.62 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.71033942233771] Failed to read output from testmodel.py, exit status != 0: 9.12999527528882 9.147812028 8.928864624 Calling exit ...