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.001424/0.001424, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001411/0.001411, allocations: 186 kB / 20.71 MB, free: 1.484 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.322/1.322, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.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 0.9891/0.9891, allocations: 175.7 MB / 480.1 MB, free: 2.832 MB / 366.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.001745/0.001745, allocations: 68.95 kB / 0.6678 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 94.52 MB / 0.7601 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05442/0.209, allocations: 55.5 MB / 0.8143 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.2238, allocations: 10.39 MB / 0.8245 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.2252, allocations: 67.56 kB / 0.8245 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.2272, allocations: 0.9164 MB / 0.8254 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.2318, allocations: 2.005 MB / 0.8274 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.2364, allocations: 2.124 MB / 0.8295 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.2407, allocations: 3.773 MB / 0.8331 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.242, allocations: 0.9896 MB / 0.8341 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.2451, allocations: 1.914 MB / 0.836 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.2466, allocations: 1.256 MB / 0.8372 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.2467, allocations: 108 kB / 0.8373 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.2492, allocations: 1.337 MB / 0.8386 GB, free: 280 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.313/0.5623, allocations: 387.9 kB / 0.839 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.5635, allocations: 0.8505 MB / 0.8398 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.5672, allocations: 2.46 MB / 0.8422 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5672, allocations: 0.9375 kB / 0.8422 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5672, allocations: 0.5 kB / 0.8422 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.5672, allocations: 0 / 0.8422 GB, free: 9.844 MB / 0.6387 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.003086/0.5703, allocations: 2.194 MB / 0.8444 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5704, allocations: 9.656 kB / 0.8444 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.5705, allocations: 162.8 kB / 0.8445 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.574, allocations: 0.6548 MB / 0.8452 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.5758, allocations: 1.196 MB / 0.8463 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5758, allocations: 81.81 kB / 0.8464 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.576, allocations: 113 kB / 0.8465 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.5788, allocations: 1.5 MB / 0.848 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5788, allocations: 6.125 kB / 0.848 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.5789, allocations: 49.62 kB / 0.848 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.579, allocations: 32.16 kB / 0.8481 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.5824, allocations: 1.226 MB / 0.8493 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008039/0.5904, allocations: 8.365 MB / 0.8574 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.5935, allocations: 1.047 MB / 0.8585 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.595, allocations: 0.5309 MB / 0.859 GB, free: 17.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/0.5971, allocations: 2.9 MB / 0.8618 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/0.5989, allocations: 0.6765 MB / 0.8625 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 2.385e-06/0.5989, allocations: 0 / 0.8625 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.0053/0.6042, allocations: 1.793 MB / 0.8642 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6042, allocations: 64.45 kB / 0.8643 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.606, allocations: 1.487 MB / 0.8657 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.331e-05/0.6061, allocations: 45.05 kB / 0.8658 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.6066, allocations: 0.8027 MB / 0.8666 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.6068, allocations: 311.6 kB / 0.8669 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.607, allocations: 223.2 kB / 0.8671 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6072, allocations: 346.1 kB / 0.8674 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.6086, allocations: 0.5207 MB / 0.8679 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.6102, allocations: 0.8983 MB / 0.8688 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.6132, allocations: 1.413 MB / 0.8702 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.6132, allocations: 7.062 kB / 0.8702 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003698/0.6169, allocations: 1.614 MB / 0.8717 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6169, allocations: 8.875 kB / 0.8718 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6169, allocations: 11.84 kB / 0.8718 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.6169, allocations: 21.34 kB / 0.8718 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.6183, allocations: 345.6 kB / 0.8721 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.6183, allocations: 31.02 kB / 0.8721 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.6197, allocations: 230.9 kB / 0.8724 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6198, allocations: 66.92 kB / 0.8724 GB, free: 11.93 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.0005247/0.6204, allocations: 353.8 kB / 0.8728 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.6206, allocations: 175 kB / 0.8729 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.625, allocations: 2.113 MB / 0.875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/0.625, allocations: 20.78 kB / 0.875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.625, allocations: 2.938 kB / 0.875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.625, allocations: 7.172 kB / 0.875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.6306, allocations: 3.315 MB / 0.8783 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6306, allocations: 2.562 kB / 0.8783 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6316, allocations: 226.8 kB / 0.8785 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6316, allocations: 5.625 kB / 0.8785 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/0.6317, allocations: 42.2 kB / 0.8785 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.6317, allocations: 12.47 kB / 0.8785 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6317, allocations: 6.188 kB / 0.8785 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.6371, allocations: 2.711 MB / 0.8812 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/0.6376, allocations: 399.3 kB / 0.8816 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.6378, allocations: 23.72 kB / 0.8816 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6389, allocations: 121 kB / 0.8817 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.639, allocations: 78.97 kB / 0.8818 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.838e-05/0.6391, allocations: 50.88 kB / 0.8818 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00111/0.6402, allocations: 1.011 MB / 0.8828 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.6402, allocations: 0 / 0.8828 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001515/0.6417, allocations: 0.5382 MB / 0.8834 GB, free: 10.29 MB / 0.6544 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 (113): * Single equations (assignments): 82 * 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.007513/0.6492, allocations: 4.016 MB / 0.8873 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.6525, allocations: 1.413 MB / 0.8887 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6525, allocations: 4.188 kB / 0.8887 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.6541, allocations: 0.7533 MB / 0.8894 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.657, allocations: 0.7373 MB / 0.8901 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.6771, allocations: 12.59 MB / 0.9024 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.6779, allocations: 1.312 MB / 0.9037 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001228/0.6791, allocations: 368.4 kB / 0.904 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008969/0.68, allocations: 0.7167 MB / 0.9047 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.68, allocations: 0 / 0.9047 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08696/0.767, allocations: 47.92 MB / 0.9515 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.07, allocations: 0 / 0.9515 GB, free: 3.965 MB / 0.7012 GB " [Timeout remaining time 649] (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 --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: 14.692300346010597]