Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001769/0.001769, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00231/0.00231, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.992 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.9192/0.9192, allocations: 134 MB / 446.4 MB, free: 10.23 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_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001957/0.001957, allocations: 66.02 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1857, allocations: 85.91 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03746/0.2232, allocations: 30.01 MB / 0.7318 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2356, allocations: 7.019 MB / 0.7386 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.237, allocations: 67.31 kB / 0.7387 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2389, allocations: 0.7108 MB / 0.7394 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.2433, allocations: 1.593 MB / 0.7409 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.2467, allocations: 1.101 MB / 0.742 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.2512, allocations: 2.539 MB / 0.7445 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.2525, allocations: 0.6583 MB / 0.7451 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.2547, allocations: 1.078 MB / 0.7462 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.2559, allocations: 0.8753 MB / 0.747 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.2561, allocations: 68 kB / 0.7471 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.2582, allocations: 0.8811 MB / 0.748 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.2585, allocations: 282.8 kB / 0.7482 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.2591, allocations: 0.5592 MB / 0.7488 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.2618, allocations: 1.669 MB / 0.7504 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2618, allocations: 0 / 0.7504 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2618, allocations: 0 / 0.7504 GB, free: 60 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.2618, allocations: 0 / 0.7504 GB, free: 60 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.3828/0.6446, allocations: 1.549 MB / 0.7519 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6447, allocations: 9.25 kB / 0.7519 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.6448, allocations: 117.4 kB / 0.7521 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.6485, allocations: 0.5971 MB / 0.7526 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.6505, allocations: 0.8088 MB / 0.7534 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.6505, allocations: 59.62 kB / 0.7535 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6507, allocations: 74.34 kB / 0.7536 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.6531, allocations: 1.092 MB / 0.7546 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.6532, allocations: 5.594 kB / 0.7546 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.6532, allocations: 32.62 kB / 0.7547 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.6533, allocations: 17.38 kB / 0.7547 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.6564, allocations: 1.002 MB / 0.7557 GB, free: 11.88 MB / 0.5606 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.00604/0.6625, allocations: 4.914 MB / 0.7605 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.6654, allocations: 0.8718 MB / 0.7613 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.6669, allocations: 466.2 kB / 0.7617 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007597/0.6677, allocations: 181.7 kB / 0.7619 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.6695, allocations: 0.57 MB / 0.7625 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/0.6695, allocations: 0 / 0.7625 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005308/0.6748, allocations: 1.489 MB / 0.7639 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6748, allocations: 62.05 kB / 0.764 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.6767, allocations: 1.148 MB / 0.7651 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.6768, allocations: 44.02 kB / 0.7652 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.6773, allocations: 0.5595 MB / 0.7657 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.6775, allocations: 216.7 kB / 0.7659 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.6778, allocations: 167.7 kB / 0.7661 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6779, allocations: 335.8 kB / 0.7664 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.6795, allocations: 450.7 kB / 0.7668 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.6811, allocations: 0.7175 MB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.6841, allocations: 1.118 MB / 0.7686 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6841, allocations: 3.062 kB / 0.7686 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004164/0.6883, allocations: 1.281 MB / 0.7699 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.6883, allocations: 15.86 kB / 0.7699 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.6883, allocations: 7.031 kB / 0.7699 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/0.6884, allocations: 11.77 kB / 0.7699 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.6897, allocations: 270.6 kB / 0.7702 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/0.6897, allocations: 16.47 kB / 0.7702 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.6912, allocations: 183.1 kB / 0.7703 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6913, allocations: 49.34 kB / 0.7704 GB, free: 6.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004943/0.6918, allocations: 297.2 kB / 0.7707 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.692, allocations: 128.7 kB / 0.7708 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.6956, allocations: 1.413 MB / 0.7722 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.6956, allocations: 13.77 kB / 0.7722 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6956, allocations: 4 kB / 0.7722 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6957, allocations: 3.703 kB / 0.7722 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/0.7006, allocations: 2.391 MB / 0.7745 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.7006, allocations: 2.312 kB / 0.7745 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009813/0.7015, allocations: 191.7 kB / 0.7747 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.7016, allocations: 4.344 kB / 0.7747 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.7016, allocations: 27.91 kB / 0.7747 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.7016, allocations: 4.625 kB / 0.7748 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7016, allocations: 10 kB / 0.7748 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/0.7063, allocations: 2.026 MB / 0.7767 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.7068, allocations: 212.2 kB / 0.7769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.7069, allocations: 17.94 kB / 0.777 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.7078, allocations: 105.7 kB / 0.7771 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7079, allocations: 61.25 kB / 0.7771 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.708, allocations: 35.98 kB / 0.7772 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008962/0.7089, allocations: 0.7861 MB / 0.7779 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7089, allocations: 0 / 0.7779 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001126/0.71, allocations: 348 kB / 0.7783 GB, free: 5.469 MB / 0.5606 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00665/0.7167, allocations: 3.12 MB / 0.7813 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.7197, allocations: 1.097 MB / 0.7824 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7197, allocations: 0 / 0.7824 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.7212, allocations: 0.5562 MB / 0.7829 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.7237, allocations: 455 kB / 0.7833 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.7413, allocations: 9.743 MB / 0.7929 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.7422, allocations: 1.116 MB / 0.794 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001033/0.7433, allocations: 250.9 kB / 0.7942 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/0.744, allocations: 482.3 kB / 0.7947 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.021e-06/0.744, allocations: 0 / 0.7947 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08119/0.8252, allocations: 31.79 MB / 0.8257 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14, allocations: 7.188 kB / 0.8257 GB, free: 15.99 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.950864390004426] Failed to read output from testmodel.py, exit status != 0: 14.182864610105753 14.210600983 13.944079715 Calling exit ...