Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001096/0.001096, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009289/0.0009289, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9481/0.9481, allocations: 230.6 MB / 256 MB, free: 9.594 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.8162/0.8162, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0009994/0.0009994, allocations: 61.81 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5693, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2099/0.7792, allocations: 214.7 MB / 1.027 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.7901, allocations: 8.073 MB / 1.035 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.7913, allocations: 95.12 kB / 1.035 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.7932, allocations: 1.049 MB / 1.036 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.7991, allocations: 3.22 MB / 1.04 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006443/0.8055, allocations: 3.538 MB / 1.043 GB, free: 14.25 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004343/0.8099, allocations: 4.046 MB / 1.047 GB, free: 10.19 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.8117, allocations: 1.129 MB / 1.048 GB, free: 9.027 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/0.8164, allocations: 2.355 MB / 1.05 GB, free: 6.664 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.8179, allocations: 1.4 MB / 1.052 GB, free: 5.258 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.8181, allocations: 136 kB / 1.052 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005252/0.8234, allocations: 3.19 MB / 1.055 GB, free: 1.926 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.8238, allocations: 0.6307 MB / 1.056 GB, free: 1.293 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.8246, allocations: 0.8318 MB / 1.056 GB, free: 468 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.8301, allocations: 3.788 MB / 1.06 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.8302, allocations: 0 / 1.06 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.507e-06/0.8302, allocations: 0 / 1.06 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.941e-05/0.8302, allocations: 0 / 1.06 GB, free: 12.66 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004274/0.8345, allocations: 2.678 MB / 1.063 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8345, allocations: 8.031 kB / 1.063 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/0.8347, allocations: 194.5 kB / 1.063 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.8392, allocations: 1.333 MB / 1.064 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.8409, allocations: 1.17 MB / 1.065 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.038e-05/0.841, allocations: 102.6 kB / 1.066 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.8412, allocations: 132 kB / 1.066 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.844, allocations: 2.082 MB / 1.068 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.8441, allocations: 3.938 kB / 1.068 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8442, allocations: 60 kB / 1.068 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.8442, allocations: 62.47 kB / 1.068 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.8476, allocations: 2.184 MB / 1.07 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.8544, allocations: 6.497 MB / 1.076 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.8572, allocations: 1.812 MB / 1.078 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.8586, allocations: 0.9445 MB / 1.079 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/0.8591, allocations: 196.8 kB / 1.079 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.8607, allocations: 1.059 MB / 1.08 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=119): time 2.945e-06/0.8607, allocations: 0 / 1.08 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119): time 0.004877/0.8655, allocations: 2.915 MB / 1.083 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8656, allocations: 60.41 kB / 1.083 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.8672, allocations: 1.699 MB / 1.085 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.8673, allocations: 49.7 kB / 1.085 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.8678, allocations: 0.8056 MB / 1.086 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.8681, allocations: 436.2 kB / 1.086 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.8684, allocations: 246.8 kB / 1.086 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.8685, allocations: 353.9 kB / 1.087 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.8698, allocations: 0.83 MB / 1.087 GB, free: 312 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.8714, allocations: 1.372 MB / 1.089 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.8741, allocations: 1.946 MB / 1.091 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8741, allocations: 0 / 1.091 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003165/0.8773, allocations: 2.202 MB / 1.093 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.8773, allocations: 14.28 kB / 1.093 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8773, allocations: 12.09 kB / 1.093 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.8773, allocations: 16 kB / 1.093 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.8784, allocations: 407.4 kB / 1.093 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.8784, allocations: 19.92 kB / 1.093 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8794, allocations: 294.6 kB / 1.094 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.8795, allocations: 59.97 kB / 1.094 GB, free: 9.684 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0005122/0.88, allocations: 395.4 kB / 1.094 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.8802, allocations: 202.7 kB / 1.094 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.8835, allocations: 2.226 MB / 1.096 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.8835, allocations: 12 kB / 1.096 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8835, allocations: 0 / 1.096 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.8835, allocations: 11.97 kB / 1.096 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/0.8889, allocations: 4.299 MB / 1.101 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8889, allocations: 4 kB / 1.101 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.8899, allocations: 344.2 kB / 1.101 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.8899, allocations: 16 kB / 1.101 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.89, allocations: 43.97 kB / 1.101 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.89, allocations: 15.92 kB / 1.101 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.89, allocations: 11.94 kB / 1.101 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/0.8946, allocations: 3.516 MB / 1.104 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.8951, allocations: 342.3 kB / 1.105 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.8953, allocations: 36.08 kB / 1.105 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/0.8961, allocations: 179.7 kB / 1.105 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.8962, allocations: 100.7 kB / 1.105 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.8963, allocations: 51.97 kB / 1.105 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001056/0.8973, allocations: 1.158 MB / 1.106 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8973, allocations: 0 / 1.106 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001023/0.8983, allocations: 495.4 kB / 1.107 GB, free: 12.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * 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.005958/0.9043, allocations: 4.572 MB / 1.111 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.9074, allocations: 1.922 MB / 1.113 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9074, allocations: 4 kB / 1.113 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.9089, allocations: 0.9791 MB / 1.114 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.9112, allocations: 0.9575 MB / 1.115 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.9312, allocations: 16.15 MB / 1.131 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.9318, allocations: 0.8078 MB / 1.131 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001357/0.9331, allocations: 474.6 kB / 1.132 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/0.9339, allocations: 0.7336 MB / 1.133 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/0.9339, allocations: 0 / 1.133 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4403/1.374, allocations: 55.93 MB / 1.187 GB, free: 289.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/9.316, allocations: 7.812 kB / 1.187 GB, free: 289.5 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.500095617957413] Failed to read output from testmodel.py, exit status != 0: 9.434359536971897 9.441081798 8.60940046 Calling exit ...