Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001252/0.001252, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001273/0.001273, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.351/1.351, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.021/1.021, allocations: 175.8 MB / 478.4 MB, free: 8.492 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.19 kB / 0.6652 GB, free: 0.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1913, allocations: 94.54 MB / 0.7575 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002998/0.1943, allocations: 1.578 MB / 0.7591 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3415/0.5358, allocations: 0.9069 MB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.5359, allocations: 0.5938 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.5359, allocations: 5.359 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.5361, allocations: 32.97 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.5365, allocations: 139 kB / 0.7601 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.5366, allocations: 83.39 kB / 0.7602 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.5367, allocations: 10.75 kB / 0.7602 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.5368, allocations: 31.31 kB / 0.7603 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.5369, allocations: 37.67 kB / 0.7603 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.5369, allocations: 4.094 kB / 0.7603 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.5373, allocations: 285.9 kB / 0.7606 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.5374, allocations: 14.2 kB / 0.7606 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.5374, allocations: 28.61 kB / 0.7606 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.5377, allocations: 154.9 kB / 0.7608 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5377, allocations: 0 / 0.7608 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5377, allocations: 1.594 kB / 0.7608 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5377, allocations: 0 / 0.7608 GB, free: 7.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004883/0.5382, allocations: 412.3 kB / 0.7611 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5382, allocations: 10.61 kB / 0.7612 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.5382, allocations: 32.05 kB / 0.7612 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.5383, allocations: 12.41 kB / 0.7612 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.5386, allocations: 193.6 kB / 0.7614 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5386, allocations: 6.594 kB / 0.7614 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.5386, allocations: 6.5 kB / 0.7614 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.5388, allocations: 63.58 kB / 0.7615 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5388, allocations: 0 / 0.7615 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5388, allocations: 4.891 kB / 0.7615 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5388, allocations: 2.031 kB / 0.7615 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.5389, allocations: 42.28 kB / 0.7615 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.5393, allocations: 295.8 kB / 0.7618 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5394, allocations: 53.12 kB / 0.7618 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.5395, allocations: 29.56 kB / 0.7619 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5395, allocations: 4.219 kB / 0.7619 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.5396, allocations: 32.28 kB / 0.7619 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.5396, allocations: 0 / 0.7619 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003335/0.5399, allocations: 112.6 kB / 0.762 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.5399, allocations: 58.8 kB / 0.7621 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.54, allocations: 132.4 kB / 0.7622 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.54, allocations: 27.5 kB / 0.7622 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.5401, allocations: 103.1 kB / 0.7623 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.5401, allocations: 18.41 kB / 0.7623 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.5401, allocations: 19.16 kB / 0.7624 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.5402, allocations: 325.3 kB / 0.7627 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.5402, allocations: 20.42 kB / 0.7627 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.5403, allocations: 24.72 kB / 0.7627 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5404, allocations: 54.86 kB / 0.7628 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5405, allocations: 0.6875 kB / 0.7628 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001954/0.5406, allocations: 93.75 kB / 0.7628 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5407, allocations: 5.438 kB / 0.7629 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5407, allocations: 0 / 0.7629 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5407, allocations: 1.953 kB / 0.7629 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5408, allocations: 16.36 kB / 0.7629 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5408, allocations: 0.6094 kB / 0.7629 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.5409, allocations: 13.23 kB / 0.7629 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5409, allocations: 1.906 kB / 0.7629 GB, free: 6.219 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 (6): * Single equations (assignments): 6 * 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 5.017e-05/0.5409, allocations: 119.5 kB / 0.763 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.541, allocations: 7.484 kB / 0.763 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5412, allocations: 99.58 kB / 0.7631 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5412, allocations: 1.953 kB / 0.7631 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5412, allocations: 3.312 kB / 0.7631 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5412, allocations: 5.297 kB / 0.7631 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.5413, allocations: 182.9 kB / 0.7633 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5413, allocations: 0 / 0.7633 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.5414, allocations: 21.11 kB / 0.7633 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5414, allocations: 0.6562 kB / 0.7633 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5414, allocations: 4.781 kB / 0.7633 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5414, allocations: 0 / 0.7633 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5414, allocations: 1.719 kB / 0.7633 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.5417, allocations: 188 kB / 0.7635 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.5417, allocations: 88.14 kB / 0.7636 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5417, allocations: 5.125 kB / 0.7636 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.5418, allocations: 4.484 kB / 0.7636 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5418, allocations: 9.672 kB / 0.7636 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5418, allocations: 6.719 kB / 0.7636 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.5419, allocations: 102.7 kB / 0.7637 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5419, allocations: 0 / 0.7637 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002396/0.5421, allocations: 27.06 kB / 0.7637 GB, free: 5.531 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 (6): * Single equations (assignments): 6 * 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.0004499/0.5426, allocations: 0.7402 MB / 0.7644 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.5428, allocations: 53.09 kB / 0.7645 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5428, allocations: 0 / 0.7645 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.5429, allocations: 31.75 kB / 0.7645 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.5431, allocations: 22.98 kB / 0.7645 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5447, allocations: 1.448 MB / 0.766 GB, free: 19.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.545, allocations: 0.6906 MB / 0.7666 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.545, allocations: 9.047 kB / 0.7666 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.5451, allocations: 24.42 kB / 0.7667 GB, free: 18.97 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5451, allocations: 1.188 kB / 0.7667 GB, free: 18.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.5683, allocations: 2.325 MB / 0.7689 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.414, allocations: 9.859 kB / 0.769 GB, free: 18.56 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.350498535204679] Failed to read output from testmodel.py, exit status != 0: 8.483377939090133 8.506853046 7.964425955 Calling exit ...