Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0018/0.0018, allocations: 105.5 kB / 16.45 MB, free: 6.035 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.002111/0.002111, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 175.8 MB / 478.5 MB, free: 8.477 MB / 382.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-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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 72.23 kB / 0.6652 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2069, allocations: 94.55 MB / 0.7576 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4828/0.6897, allocations: 54.96 MB / 0.8112 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.7078, allocations: 10.36 MB / 0.8214 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.7108, allocations: 67.44 kB / 0.8214 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.7138, allocations: 0.9125 MB / 0.8223 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.7206, allocations: 2.01 MB / 0.8243 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00678/0.7274, allocations: 2.105 MB / 0.8263 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007018/0.7344, allocations: 3.763 MB / 0.83 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.7366, allocations: 1.006 MB / 0.831 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.7418, allocations: 1.919 MB / 0.8329 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.7446, allocations: 1.25 MB / 0.8341 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.7449, allocations: 105.7 kB / 0.8342 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.7487, allocations: 1.334 MB / 0.8355 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.7494, allocations: 399.9 kB / 0.8359 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.7511, allocations: 0.8517 MB / 0.8367 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.7569, allocations: 2.462 MB / 0.8391 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7569, allocations: 4 kB / 0.8391 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7569, allocations: 1.5 kB / 0.8391 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.508e-05/0.757, allocations: 0 / 0.8391 GB, free: 0.7539 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004892/0.7619, allocations: 2.195 MB / 0.8413 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.7619, allocations: 10.09 kB / 0.8413 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.7621, allocations: 163.8 kB / 0.8414 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.766, allocations: 0.6593 MB / 0.8421 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.7689, allocations: 1.196 MB / 0.8432 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.769, allocations: 83.98 kB / 0.8433 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.7692, allocations: 112.4 kB / 0.8434 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.7726, allocations: 1.491 MB / 0.8449 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.7726, allocations: 8.188 kB / 0.8449 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7728, allocations: 49.09 kB / 0.8449 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.7728, allocations: 27.97 kB / 0.845 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.7763, allocations: 1.223 MB / 0.8462 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.7874, allocations: 8.387 MB / 0.8543 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.7907, allocations: 1.05 MB / 0.8554 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.7923, allocations: 0.5272 MB / 0.8559 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/0.7952, allocations: 2.895 MB / 0.8587 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.797, allocations: 0.6692 MB / 0.8594 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.516e-06/0.797, allocations: 3.938 kB / 0.8594 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.005492/0.8025, allocations: 1.803 MB / 0.8611 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.8026, allocations: 64.34 kB / 0.8612 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.8052, allocations: 1.485 MB / 0.8626 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.8054, allocations: 45.69 kB / 0.8627 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.8062, allocations: 0.7998 MB / 0.8635 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.8066, allocations: 305.4 kB / 0.8638 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003849/0.807, allocations: 226.8 kB / 0.864 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.8072, allocations: 349.9 kB / 0.8643 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.8088, allocations: 0.5178 MB / 0.8648 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.8107, allocations: 0.9109 MB / 0.8657 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.8142, allocations: 1.403 MB / 0.8671 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.8142, allocations: 4 kB / 0.8671 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004454/0.8186, allocations: 1.613 MB / 0.8687 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.8187, allocations: 8 kB / 0.8687 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.8187, allocations: 12 kB / 0.8687 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.081e-05/0.8187, allocations: 16.69 kB / 0.8687 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8202, allocations: 356 kB / 0.869 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.8202, allocations: 19.94 kB / 0.869 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.822, allocations: 230.9 kB / 0.8693 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.8222, allocations: 63.97 kB / 0.8693 GB, free: 3.926 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0007348/0.8229, allocations: 356.1 kB / 0.8697 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.8234, allocations: 178.8 kB / 0.8698 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/0.8284, allocations: 2.087 MB / 0.8719 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/0.8285, allocations: 23.92 kB / 0.8719 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.8285, allocations: 0 / 0.8719 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8285, allocations: 7.969 kB / 0.8719 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/0.8357, allocations: 3.29 MB / 0.8751 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8357, allocations: 3.938 kB / 0.8751 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.8369, allocations: 235.8 kB / 0.8753 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.8369, allocations: 4 kB / 0.8753 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.837, allocations: 40.47 kB / 0.8754 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.837, allocations: 4 kB / 0.8754 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.837, allocations: 4 kB / 0.8754 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.8434, allocations: 2.705 MB / 0.878 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.8445, allocations: 395.1 kB / 0.8784 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.8447, allocations: 24 kB / 0.8784 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.8459, allocations: 119.9 kB / 0.8786 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.846, allocations: 76.89 kB / 0.8786 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8461, allocations: 55.89 kB / 0.8787 GB, free: 10.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001561/0.8477, allocations: 1.003 MB / 0.8797 GB, free: 9.203 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8477, allocations: 0 / 0.8797 GB, free: 9.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002085/0.8498, allocations: 0.5457 MB / 0.8802 GB, free: 8.656 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (110): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.009098/0.8589, allocations: 3.991 MB / 0.8841 GB, free: 4.809 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.8628, allocations: 1.411 MB / 0.8855 GB, free: 3.398 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8628, allocations: 3.938 kB / 0.8855 GB, free: 3.395 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.8647, allocations: 0.7481 MB / 0.8862 GB, free: 2.652 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.8682, allocations: 0.7317 MB / 0.8869 GB, free: 1.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.8932, allocations: 12.56 MB / 0.8992 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009744/0.8942, allocations: 1.305 MB / 0.9005 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001497/0.8957, allocations: 380.8 kB / 0.9008 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.8967, allocations: 0.7022 MB / 0.9015 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of SimCode: time 1.503e-06/0.8967, allocations: 0 / 0.9015 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.997, allocations: 47.7 MB / 0.9481 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.14, allocations: 7.984 kB / 0.9481 GB, free: 3.246 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.146365307737142] Failed to read output from testmodel.py, exit status != 0: 14.296840859111398 14.322324552 13.560498209 Calling exit ...