Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001201/0.001201, allocations: 119.8 kB / 17.74 MB, free: 5.309 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.001328/0.001327, allocations: 185.3 kB / 20.68 MB, free: 2.383 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.408/1.408, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8781/0.8781, allocations: 119.3 MB / 417.9 MB, free: 12 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 0.5789 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6219/0.624, allocations: 80.68 MB / 0.6577 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001422/0.6255, allocations: 418.2 kB / 0.6581 GB, free: 12.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.626, allocations: 223.7 kB / 0.6583 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.626, allocations: 0 / 0.6583 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.626, allocations: 3.938 kB / 0.6583 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.6262, allocations: 1.406 kB / 0.6583 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.6263, allocations: 31.27 kB / 0.6583 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.6264, allocations: 12.56 kB / 0.6584 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.6265, allocations: 1.812 kB / 0.6584 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.6265, allocations: 6.719 kB / 0.6584 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.6266, allocations: 10.73 kB / 0.6584 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.6266, allocations: 0 / 0.6584 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.763e-05/0.6267, allocations: 19.95 kB / 0.6584 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.6267, allocations: 4.922 kB / 0.6584 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.6267, allocations: 9.75 kB / 0.6584 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.6268, allocations: 23.39 kB / 0.6584 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6268, allocations: 0.9375 kB / 0.6584 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6268, allocations: 3.938 kB / 0.6584 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6269, allocations: 0 / 0.6584 GB, free: 12.61 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00033/0.6272, allocations: 334.8 kB / 0.6588 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6272, allocations: 13.98 kB / 0.6588 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.6273, allocations: 30.75 kB / 0.6588 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.6273, allocations: 2.812 kB / 0.6588 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.6274, allocations: 165.3 kB / 0.659 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6274, allocations: 5.281 kB / 0.659 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.6275, allocations: 1.312 kB / 0.659 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/0.6276, allocations: 38.81 kB / 0.659 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6276, allocations: 3.938 kB / 0.659 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.6276, allocations: 0.9062 kB / 0.659 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6276, allocations: 4 kB / 0.659 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.6276, allocations: 9.531 kB / 0.659 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.6278, allocations: 153.4 kB / 0.6592 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.628, allocations: 39.2 kB / 0.6592 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.628, allocations: 9.172 kB / 0.6592 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.628, allocations: 15.89 kB / 0.6592 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.6281, allocations: 35.94 kB / 0.6593 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6281, allocations: 0 / 0.6593 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.6282, allocations: 60.83 kB / 0.6593 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.6282, allocations: 51.41 kB / 0.6594 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.6283, allocations: 91.86 kB / 0.6595 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.6283, allocations: 25.7 kB / 0.6595 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.6283, allocations: 81.45 kB / 0.6596 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.6284, allocations: 17.12 kB / 0.6596 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.6284, allocations: 17.38 kB / 0.6596 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.6284, allocations: 315.9 kB / 0.6599 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.6285, allocations: 7.516 kB / 0.6599 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.6285, allocations: 8.125 kB / 0.6599 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.6285, allocations: 22.14 kB / 0.6599 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6285, allocations: 0 / 0.6599 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.231e-05/0.6286, allocations: 47.94 kB / 0.66 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6286, allocations: 9.219 kB / 0.66 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6286, allocations: 7.922 kB / 0.66 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6287, allocations: 4 kB / 0.66 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.6287, allocations: 6.625 kB / 0.66 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6287, allocations: 0 / 0.66 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.6287, allocations: 5.734 kB / 0.66 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.6287, allocations: 3.938 kB / 0.66 GB, free: 10.88 MB / 0.4983 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 (4): * Single equations (assignments): 4 * 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 4.125e-05/0.6288, allocations: 117.1 kB / 0.6601 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.6288, allocations: 7.938 kB / 0.6601 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.6289, allocations: 70.48 kB / 0.6602 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.629, allocations: 64 / 0.6602 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.629, allocations: 5.812 kB / 0.6602 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.629, allocations: 0 / 0.6602 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.629, allocations: 161.5 kB / 0.6604 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6291, allocations: 0 / 0.6604 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.6291, allocations: 11.67 kB / 0.6604 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6291, allocations: 3.938 kB / 0.6604 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.6291, allocations: 1.719 kB / 0.6604 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6291, allocations: 7.922 kB / 0.6604 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6291, allocations: 0 / 0.6604 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.6293, allocations: 106.6 kB / 0.6605 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.6293, allocations: 77.98 kB / 0.6606 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.6293, allocations: 5.344 kB / 0.6606 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.6293, allocations: 0 / 0.6606 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.6294, allocations: 3.219 kB / 0.6606 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6294, allocations: 5.469 kB / 0.6606 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.6294, allocations: 84.86 kB / 0.6607 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6294, allocations: 0 / 0.6607 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001809/0.6296, allocations: 11.47 kB / 0.6607 GB, free: 10.19 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.0002701/0.6299, allocations: 0.6366 MB / 0.6613 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.572e-05/0.63, allocations: 27.7 kB / 0.6613 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.63, allocations: 160 / 0.6613 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.63, allocations: 19.88 kB / 0.6613 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.6301, allocations: 6.281 kB / 0.6613 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.6308, allocations: 1.126 MB / 0.6624 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.114e-05/0.6309, allocations: 0.682 MB / 0.6631 GB, free: 7.699 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.6309, allocations: 3.594 kB / 0.6631 GB, free: 7.699 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.631, allocations: 15.62 kB / 0.6631 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.631, allocations: 0 / 0.6631 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6559, allocations: 1.479 MB / 0.6646 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.443, allocations: 8.875 kB / 0.6646 GB, free: 6.891 MB / 0.4983 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 11.946358646033332] Failed to read output from testmodel.py, exit status != 0: 8.510001013986766 8.531870494 7.901025627 Calling exit ...