Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007545/0.0007545, allocations: 97.5 kB / 18.95 MB, free: 1.312 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 213.7 kB / 22.25 MB, free: 3.676 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9436/0.9436, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7901/0.7901, allocations: 203.8 MB / 0.5042 GB, free: 10.49 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009112/0.0009112, allocations: 63.06 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.576, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1952/0.7712, allocations: 214.7 MB / 1.027 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.7826, allocations: 8.074 MB / 1.035 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.7848, allocations: 95.12 kB / 1.035 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.7872, allocations: 1.045 MB / 1.036 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.7952, allocations: 3.22 MB / 1.04 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.008147/0.8034, allocations: 3.541 MB / 1.043 GB, free: 14.26 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006065/0.8094, allocations: 3.964 MB / 1.047 GB, free: 10.28 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.8118, allocations: 1.085 MB / 1.048 GB, free: 9.16 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005642/0.8174, allocations: 2.324 MB / 1.05 GB, free: 6.828 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.8199, allocations: 1.377 MB / 1.052 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000403/0.8203, allocations: 128 kB / 1.052 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/0.826, allocations: 3.183 MB / 1.055 GB, free: 2.129 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008204/0.8269, allocations: 0.6151 MB / 1.055 GB, free: 1.512 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.8282, allocations: 0.8241 MB / 1.056 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007588/0.8358, allocations: 3.737 MB / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8358, allocations: 8 kB / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8358, allocations: 0 / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.203e-05/0.8358, allocations: 0 / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004962/0.8408, allocations: 2.643 MB / 1.063 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.8409, allocations: 12.03 kB / 1.063 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003981/0.8413, allocations: 190.4 kB / 1.063 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/0.8455, allocations: 1.142 MB / 1.064 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.8478, allocations: 1.158 MB / 1.065 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.8479, allocations: 102.5 kB / 1.065 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.848, allocations: 128 kB / 1.065 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.8506, allocations: 1.967 MB / 1.067 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.8506, allocations: 3.938 kB / 1.067 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.8507, allocations: 63.98 kB / 1.067 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.318e-05/0.8507, allocations: 62.34 kB / 1.067 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.8536, allocations: 1.898 MB / 1.069 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.8608, allocations: 6.793 MB / 1.076 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.8631, allocations: 1.461 MB / 1.077 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.8642, allocations: 0.7571 MB / 1.078 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.8648, allocations: 196.8 kB / 1.078 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.866, allocations: 0.8794 MB / 1.079 GB, free: 9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 5.22e-06/0.866, allocations: 0 / 1.079 GB, free: 9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.004091/0.8701, allocations: 2.416 MB / 1.081 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.8702, allocations: 68.41 kB / 1.081 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.8722, allocations: 1.777 MB / 1.083 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.8723, allocations: 49.7 kB / 1.083 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.8728, allocations: 0.8405 MB / 1.084 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.8731, allocations: 392.7 kB / 1.084 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.8734, allocations: 242.8 kB / 1.085 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8735, allocations: 357.9 kB / 1.085 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.8745, allocations: 0.6778 MB / 1.086 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.8758, allocations: 1.287 MB / 1.087 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.878, allocations: 1.725 MB / 1.088 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.878, allocations: 4 kB / 1.088 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003108/0.8811, allocations: 1.945 MB / 1.09 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8811, allocations: 11.98 kB / 1.09 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8811, allocations: 12 kB / 1.09 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.8812, allocations: 16 kB / 1.09 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/0.8821, allocations: 367.4 kB / 1.091 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.8821, allocations: 19.94 kB / 1.091 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.8833, allocations: 258.6 kB / 1.091 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.8834, allocations: 63.97 kB / 1.091 GB, free: 12.05 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.00064/0.884, allocations: 404.3 kB / 1.091 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.8842, allocations: 202.7 kB / 1.092 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.8869, allocations: 1.879 MB / 1.094 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.887, allocations: 12 kB / 1.094 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.887, allocations: 3.984 kB / 1.094 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.887, allocations: 7.969 kB / 1.094 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.8921, allocations: 3.852 MB / 1.097 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.8921, allocations: 8 kB / 1.097 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/0.8929, allocations: 271.7 kB / 1.098 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.8929, allocations: 15.92 kB / 1.098 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.8929, allocations: 39.98 kB / 1.098 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.8929, allocations: 15.92 kB / 1.098 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.893, allocations: 15.94 kB / 1.098 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.8968, allocations: 2.985 MB / 1.101 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.8974, allocations: 334.3 kB / 1.101 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.8976, allocations: 35.92 kB / 1.101 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.8984, allocations: 131.8 kB / 1.101 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8985, allocations: 96.67 kB / 1.101 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.8986, allocations: 47.97 kB / 1.101 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001232/0.8998, allocations: 1.207 MB / 1.102 GB, free: 232 kB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.8998, allocations: 0 / 1.102 GB, free: 232 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001163/0.901, allocations: 471.6 kB / 1.103 GB, free: 15.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004808/0.9058, allocations: 4.043 MB / 1.107 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.9083, allocations: 1.611 MB / 1.108 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9083, allocations: 0 / 1.108 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.9095, allocations: 0.8113 MB / 1.109 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.9122, allocations: 0.9758 MB / 1.11 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.9291, allocations: 14.84 MB / 1.125 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.9296, allocations: 0.8029 MB / 1.125 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001392/0.931, allocations: 463 kB / 1.126 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/0.9318, allocations: 0.7218 MB / 1.127 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of SimCode: time 1.573e-06/0.9318, allocations: 4 kB / 1.127 GB, free: 6.914 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4648/1.397, allocations: 55.74 MB / 1.181 GB, free: 290.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/9.378, allocations: 17.39 kB / 1.181 GB, free: 290.4 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.51301287394017] Failed to read output from testmodel.py, exit status != 0: 9.498193597886711 9.506959866 8.669157331 Calling exit ...