Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008233/0.0008233, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0009109/0.0009109, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.812 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.8096/0.8096, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_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.000912/0.000912, allocations: 68.47 kB / 0.7183 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5889, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2093/0.7982, allocations: 246.5 MB / 1.059 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.8093, allocations: 8.577 MB / 1.067 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.8113, allocations: 99.06 kB / 1.067 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.8137, allocations: 1.08 MB / 1.068 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006975/0.8206, allocations: 3.271 MB / 1.071 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006646/0.8273, allocations: 3.649 MB / 1.075 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.8323, allocations: 4.003 MB / 1.079 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.8338, allocations: 1.112 MB / 1.08 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.8377, allocations: 2.328 MB / 1.082 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.8392, allocations: 1.444 MB / 1.084 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.8394, allocations: 128 kB / 1.084 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006125/0.8455, allocations: 4.263 MB / 1.088 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.8461, allocations: 0.6073 MB / 1.088 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.8471, allocations: 0.9908 MB / 1.089 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.854, allocations: 3.87 MB / 1.093 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.854, allocations: 0 / 1.093 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.854, allocations: 4 kB / 1.093 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.854, allocations: 0 / 1.093 GB, free: 11.07 MB / 0.8698 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.004126/0.8582, allocations: 2.647 MB / 1.096 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.8582, allocations: 12.03 kB / 1.096 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.8584, allocations: 190.4 kB / 1.096 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.8618, allocations: 1.099 MB / 1.097 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.8637, allocations: 1.18 MB / 1.098 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.8641, allocations: 98.56 kB / 1.098 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.8643, allocations: 128 kB / 1.098 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.8668, allocations: 1.98 MB / 1.1 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.8668, allocations: 3.938 kB / 1.1 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.8669, allocations: 55.98 kB / 1.1 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.8669, allocations: 62.3 kB / 1.1 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.8697, allocations: 1.874 MB / 1.102 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008368/0.8781, allocations: 9.109 MB / 1.111 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.8807, allocations: 1.544 MB / 1.113 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.8817, allocations: 0.7468 MB / 1.113 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.8821, allocations: 148.9 kB / 1.114 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.8833, allocations: 0.8643 MB / 1.114 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.577e-06/0.8833, allocations: 0 / 1.114 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.003727/0.887, allocations: 2.318 MB / 1.117 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.8871, allocations: 64.41 kB / 1.117 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.8889, allocations: 1.701 MB / 1.118 GB, free: 280 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.593e-05/0.889, allocations: 49.7 kB / 1.118 GB, free: 224 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/0.8899, allocations: 0.8596 MB / 1.119 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.8902, allocations: 384.8 kB / 1.12 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.8904, allocations: 234.8 kB / 1.12 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8905, allocations: 357.9 kB / 1.12 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009805/0.8915, allocations: 0.6699 MB / 1.121 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.8927, allocations: 1.051 MB / 1.122 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.8949, allocations: 1.708 MB / 1.124 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.8949, allocations: 4 kB / 1.124 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002981/0.8978, allocations: 1.925 MB / 1.125 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.8979, allocations: 12 kB / 1.125 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.8979, allocations: 8 kB / 1.125 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/0.8979, allocations: 23.94 kB / 1.125 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.8992, allocations: 368.1 kB / 1.126 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.713e-05/0.8993, allocations: 27.92 kB / 1.126 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.9006, allocations: 242.7 kB / 1.126 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9007, allocations: 63.97 kB / 1.126 GB, free: 7.973 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0008265/0.9015, allocations: 407.2 kB / 1.127 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.9019, allocations: 194.7 kB / 1.127 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.9046, allocations: 1.821 MB / 1.128 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.9046, allocations: 12 kB / 1.129 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.9046, allocations: 3.938 kB / 1.129 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.9046, allocations: 3.984 kB / 1.129 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.91, allocations: 3.928 MB / 1.132 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.91, allocations: 11.98 kB / 1.132 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.9108, allocations: 267.6 kB / 1.133 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.9108, allocations: 12 kB / 1.133 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.9109, allocations: 35.97 kB / 1.133 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.9109, allocations: 19.92 kB / 1.133 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004078/0.9113, allocations: 8 kB / 1.133 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.9155, allocations: 2.9 MB / 1.136 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/0.9163, allocations: 318.3 kB / 1.136 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.9165, allocations: 35.92 kB / 1.136 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.9172, allocations: 119.9 kB / 1.136 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.9174, allocations: 92.34 kB / 1.136 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/0.9175, allocations: 47.97 kB / 1.136 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001359/0.9188, allocations: 1.159 MB / 1.137 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9188, allocations: 0 / 1.137 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001359/0.9202, allocations: 471.5 kB / 1.138 GB, free: 11.85 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (107): * Single equations (assignments): 101 * 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.005486/0.9257, allocations: 3.905 MB / 1.141 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.9283, allocations: 1.577 MB / 1.143 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.9283, allocations: 4 kB / 1.143 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.9295, allocations: 0.7703 MB / 1.144 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.9322, allocations: 0.9413 MB / 1.145 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4151/1.347, allocations: 15.03 MB / 1.159 GB, free: 302.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/1.348, allocations: 1.371 MB / 1.161 GB, free: 301.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001522/1.35, allocations: 467.1 kB / 1.161 GB, free: 301.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/1.35, allocations: 0.7153 MB / 1.162 GB, free: 301 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/1.35, allocations: 0 / 1.162 GB, free: 301 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/1.433, allocations: 50.36 MB / 1.211 GB, free: 272.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.601/11.03, allocations: 4.062 kB / 1.211 GB, free: 272.6 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.18487375206314] Failed to read output from testmodel.py, exit status != 0: 11.152345795184374 11.161027908 10.305172513 Calling exit ...