Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001406/0.001406, allocations: 108.3 kB / 16.45 MB, free: 6.5 MB / 14.72 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.0015/0.0015, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8617/0.8617, allocations: 133.9 MB / 442.8 MB, free: 11.3 MB / 350.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/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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001926/0.001926, allocations: 65.47 kB / 0.6135 GB, free: 8.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1729, allocations: 85.85 MB / 0.6973 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6079/0.7808, allocations: 197.5 MB / 0.8901 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.7925, allocations: 5.258 MB / 0.8953 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.7946, allocations: 67.38 kB / 0.8953 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.7969, allocations: 0.8314 MB / 0.8961 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007178/0.8041, allocations: 2.743 MB / 0.8988 GB, free: 9.957 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.8068, allocations: 1.012 MB / 0.8998 GB, free: 8.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.8106, allocations: 2.661 MB / 0.9024 GB, free: 6.285 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.8118, allocations: 0.7674 MB / 0.9032 GB, free: 5.504 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.8138, allocations: 1.14 MB / 0.9043 GB, free: 4.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.8151, allocations: 1.027 MB / 0.9053 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.8152, allocations: 76 kB / 0.9053 GB, free: 3.254 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.8186, allocations: 1.905 MB / 0.9072 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.8191, allocations: 446.4 kB / 0.9076 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008057/0.82, allocations: 0.6526 MB / 0.9083 GB, free: 256 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.8236, allocations: 2.195 MB / 0.9104 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8236, allocations: 0 / 0.9104 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8236, allocations: 0 / 0.9104 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.8236, allocations: 0 / 0.9104 GB, free: 14.05 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005159/0.8287, allocations: 2.01 MB / 0.9124 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8288, allocations: 9.109 kB / 0.9124 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.829, allocations: 135.5 kB / 0.9125 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.8329, allocations: 0.671 MB / 0.9132 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.8346, allocations: 0.9737 MB / 0.9141 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.8347, allocations: 69.98 kB / 0.9142 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.8348, allocations: 88 kB / 0.9143 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.8381, allocations: 1.47 MB / 0.9157 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.8381, allocations: 0 / 0.9157 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8382, allocations: 43.92 kB / 0.9157 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.8383, allocations: 49.92 kB / 0.9158 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.8425, allocations: 1.51 MB / 0.9173 GB, free: 6.828 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.8504, allocations: 5.504 MB / 0.9226 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.8542, allocations: 1.234 MB / 0.9238 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.856, allocations: 0.6272 MB / 0.9245 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/0.857, allocations: 0.5851 MB / 0.925 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/0.859, allocations: 0.7065 MB / 0.9257 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.015e-06/0.859, allocations: 0 / 0.9257 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.005869/0.8648, allocations: 1.89 MB / 0.9276 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.8649, allocations: 68.05 kB / 0.9276 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.8666, allocations: 1.264 MB / 0.9289 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.8667, allocations: 41.7 kB / 0.9289 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.8672, allocations: 0.5957 MB / 0.9295 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.8675, allocations: 285.6 kB / 0.9298 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.8678, allocations: 182.6 kB / 0.9299 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.868, allocations: 345.9 kB / 0.9303 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.8698, allocations: 0.5367 MB / 0.9308 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.8717, allocations: 0.8213 MB / 0.9316 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.8751, allocations: 1.321 MB / 0.9329 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.8752, allocations: 4.094 kB / 0.9329 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004161/0.8793, allocations: 1.515 MB / 0.9344 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8793, allocations: 8 kB / 0.9344 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.8794, allocations: 11.98 kB / 0.9344 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.8794, allocations: 12 kB / 0.9344 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.8808, allocations: 296.2 kB / 0.9347 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.8808, allocations: 15.94 kB / 0.9347 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.8822, allocations: 203 kB / 0.9349 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8823, allocations: 51.97 kB / 0.9349 GB, free: 4.039 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006016/0.8829, allocations: 339.7 kB / 0.9353 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.8831, allocations: 143.1 kB / 0.9354 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.8871, allocations: 1.413 MB / 0.9368 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.8871, allocations: 8 kB / 0.9368 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8872, allocations: 0 / 0.9368 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8872, allocations: 3.984 kB / 0.9368 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00602/0.8932, allocations: 2.812 MB / 0.9395 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8932, allocations: 8.062 kB / 0.9395 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.8944, allocations: 226 kB / 0.9398 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.8945, allocations: 4 kB / 0.9398 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/0.8945, allocations: 27.97 kB / 0.9398 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.8946, allocations: 11.94 kB / 0.9398 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.8946, allocations: 4 kB / 0.9398 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.9003, allocations: 2.264 MB / 0.942 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.9009, allocations: 304 kB / 0.9423 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.9011, allocations: 19.98 kB / 0.9423 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.9021, allocations: 111.9 kB / 0.9424 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9023, allocations: 64.36 kB / 0.9425 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.9024, allocations: 39.97 kB / 0.9425 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001167/0.9035, allocations: 0.8764 MB / 0.9434 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9035, allocations: 0 / 0.9434 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001045/0.9046, allocations: 319.7 kB / 0.9437 GB, free: 10.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007779/0.9123, allocations: 3.224 MB / 0.9468 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.9162, allocations: 1.255 MB / 0.9481 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9162, allocations: 0 / 0.9481 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.918, allocations: 0.6169 MB / 0.9487 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.9208, allocations: 0.5936 MB / 0.9492 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.942, allocations: 11.06 MB / 0.96 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/0.9429, allocations: 1.175 MB / 0.9612 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001299/0.9442, allocations: 349.9 kB / 0.9615 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/0.945, allocations: 0.4993 MB / 0.962 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/0.945, allocations: 0 / 0.962 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07488/1.02, allocations: 34.27 MB / 0.9955 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.95, allocations: 18.02 kB / 0.9955 GB, free: 5.812 MB / 0.7637 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.788341053004842] Failed to read output from testmodel.py, exit status != 0: 12.095727241001441 12.118733116 11.291153653 Calling exit ...