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.00136/0.00136, allocations: 109.4 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.001455/0.001455, 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.321/1.321, allocations: 225.6 MB / 247.8 MB, free: 13.94 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/1, allocations: 175.8 MB / 478.4 MB, free: 8.484 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.001905/0.001905, allocations: 68.08 kB / 0.6652 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1857, allocations: 94.53 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003141/0.1889, allocations: 1.867 MB / 0.7593 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3449/0.5337, allocations: 3.554 MB / 0.7628 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.5339, allocations: 1.625 kB / 0.7628 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.5347, allocations: 178.3 kB / 0.763 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.5349, allocations: 73.67 kB / 0.7631 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.027e-05/0.535, allocations: 23.62 kB / 0.7631 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.5354, allocations: 252.7 kB / 0.7633 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.5355, allocations: 22.5 kB / 0.7633 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.5356, allocations: 74.3 kB / 0.7634 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.5358, allocations: 80.12 kB / 0.7635 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5358, allocations: 7.5 kB / 0.7635 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.5359, allocations: 36.08 kB / 0.7635 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.536, allocations: 50.98 kB / 0.7636 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.5361, allocations: 87.55 kB / 0.7637 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.5363, allocations: 189.6 kB / 0.7638 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5363, allocations: 1.156 kB / 0.7638 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5363, allocations: 0.5 kB / 0.7638 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.5364, allocations: 0 / 0.7638 GB, free: 6.676 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.0007926/0.5371, allocations: 0.5247 MB / 0.7644 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5372, allocations: 10.2 kB / 0.7644 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.5372, allocations: 39.19 kB / 0.7644 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.5373, allocations: 23.83 kB / 0.7644 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5376, allocations: 252.2 kB / 0.7647 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5376, allocations: 8.562 kB / 0.7647 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5376, allocations: 10.73 kB / 0.7647 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.5379, allocations: 136.3 kB / 0.7648 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.5379, allocations: 0.7969 kB / 0.7648 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.538, allocations: 3.938 kB / 0.7648 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.538, allocations: 18.38 kB / 0.7648 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.5384, allocations: 136.5 kB / 0.765 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.539, allocations: 437.6 kB / 0.7654 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.5394, allocations: 159.8 kB / 0.7655 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.5396, allocations: 95.67 kB / 0.7656 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.5397, allocations: 1.031 kB / 0.7656 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.5397, allocations: 32.38 kB / 0.7657 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.5397, allocations: 0 / 0.7657 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007728/0.5405, allocations: 290.9 kB / 0.7659 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.5405, allocations: 52.44 kB / 0.766 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.5407, allocations: 239.1 kB / 0.7662 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.5407, allocations: 34.11 kB / 0.7662 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.5408, allocations: 132.7 kB / 0.7664 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.5408, allocations: 48.14 kB / 0.7664 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.5409, allocations: 32.66 kB / 0.7664 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.5409, allocations: 336.6 kB / 0.7668 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.5411, allocations: 69.66 kB / 0.7668 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.5413, allocations: 71.38 kB / 0.7669 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.5417, allocations: 154.8 kB / 0.7671 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5417, allocations: 0 / 0.7671 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000461/0.5422, allocations: 217.6 kB / 0.7673 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5422, allocations: 6.734 kB / 0.7673 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5422, allocations: 0 / 0.7673 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5422, allocations: 1.344 kB / 0.7673 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.5424, allocations: 37.31 kB / 0.7673 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5424, allocations: 10.5 kB / 0.7673 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.5426, allocations: 19.25 kB / 0.7673 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5426, allocations: 4.703 kB / 0.7673 GB, free: 4.605 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 9.481e-05/0.5427, allocations: 138.1 kB / 0.7675 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.5427, allocations: 21.98 kB / 0.7675 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.5428, allocations: 28.3 kB / 0.7675 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5428, allocations: 1.344 kB / 0.7675 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5428, allocations: 10.38 kB / 0.7675 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5428, allocations: 3.938 kB / 0.7675 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.5431, allocations: 261.1 kB / 0.7678 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5431, allocations: 0 / 0.7678 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5433, allocations: 42.28 kB / 0.7678 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5433, allocations: 0 / 0.7678 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5433, allocations: 4.188 kB / 0.7678 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5433, allocations: 2.312 kB / 0.7678 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5433, allocations: 3.938 kB / 0.7678 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.5438, allocations: 312.3 kB / 0.7681 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.5439, allocations: 113.8 kB / 0.7682 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.5439, allocations: 0.9688 kB / 0.7682 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5441, allocations: 20.25 kB / 0.7683 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.5441, allocations: 12.73 kB / 0.7683 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5441, allocations: 4.844 kB / 0.7683 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001276/0.5443, allocations: 175.7 kB / 0.7684 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5443, allocations: 3.938 kB / 0.7684 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002717/0.5445, allocations: 37.75 kB / 0.7685 GB, free: 3.777 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.0006777/0.5452, allocations: 0.8494 MB / 0.7693 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.5457, allocations: 167.6 kB / 0.7695 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5457, allocations: 0 / 0.7695 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.5459, allocations: 85.25 kB / 0.7696 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.5463, allocations: 56.8 kB / 0.7696 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.5492, allocations: 2.336 MB / 0.7719 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.5496, allocations: 0.7404 MB / 0.7726 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.5497, allocations: 48.48 kB / 0.7727 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.5498, allocations: 58.78 kB / 0.7727 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5498, allocations: 0 / 0.7727 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.5779, allocations: 4.581 MB / 0.7772 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.575, allocations: 6.031 kB / 0.7772 GB, free: 16.14 MB / 0.5919 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.09021468134597] Failed to read output from testmodel.py, exit status != 0: 8.644246672745794 8.669167672 8.128067409 Calling exit ...