Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.001754/0.001754, allocations: 114.3 kB / 17.12 MB, free: 5.914 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.002047/0.002047, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8696/0.8696, allocations: 129.2 MB / 432.5 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4299, allocations: 83.45 MB / 0.6802 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6989/1.129, allocations: 242.6 MB / 0.9172 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01185/1.141, allocations: 8.428 MB / 0.9254 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/1.143, allocations: 68.38 kB / 0.9254 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002642/1.146, allocations: 1.073 MB / 0.9265 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007771/1.154, allocations: 3.188 MB / 0.9296 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009287/1.163, allocations: 3.598 MB / 0.9331 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006417/1.169, allocations: 3.985 MB / 0.937 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/1.172, allocations: 1.191 MB / 0.9382 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/1.177, allocations: 2.295 MB / 0.9404 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/1.179, allocations: 1.473 MB / 0.9419 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004002/1.18, allocations: 134.5 kB / 0.942 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008107/1.188, allocations: 4.186 MB / 0.9461 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/1.189, allocations: 0.6192 MB / 0.9467 GB, free: 480 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/1.191, allocations: 1.001 MB / 0.9477 GB, free: 160 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.202, allocations: 3.917 MB / 0.9515 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.202, allocations: 3.5 kB / 0.9515 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.202, allocations: 1.062 kB / 0.9515 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001023/1.202, allocations: 0 / 0.9515 GB, free: 15.22 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008465/1.211, allocations: 2.733 MB / 0.9542 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.211, allocations: 11.44 kB / 0.9542 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/1.211, allocations: 201.7 kB / 0.9544 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008736/1.22, allocations: 1.339 MB / 0.9557 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/1.223, allocations: 1.283 MB / 0.9569 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/1.224, allocations: 100.8 kB / 0.957 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/1.224, allocations: 136.7 kB / 0.9571 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/1.229, allocations: 2.071 MB / 0.9592 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/1.229, allocations: 5.062 kB / 0.9592 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.229, allocations: 57.44 kB / 0.9592 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/1.229, allocations: 57.38 kB / 0.9593 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/1.235, allocations: 2.179 MB / 0.9614 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/1.249, allocations: 8.386 MB / 0.9696 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/1.254, allocations: 1.818 MB / 0.9714 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/1.256, allocations: 0.9332 MB / 0.9723 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.258, allocations: 0.9467 MB / 0.9732 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003039/1.261, allocations: 1.06 MB / 0.9742 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=119): time 3.857e-06/1.261, allocations: 0 / 0.9742 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=119): time 0.008901/1.27, allocations: 2.883 MB / 0.9771 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/1.27, allocations: 64.41 kB / 0.9771 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/1.273, allocations: 1.619 MB / 0.9787 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/1.273, allocations: 53.7 kB / 0.9788 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/1.274, allocations: 0.805 MB / 0.9795 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/1.274, allocations: 430.5 kB / 0.98 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/1.275, allocations: 242.9 kB / 0.9802 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.275, allocations: 357.9 kB / 0.9805 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/1.278, allocations: 0.8221 MB / 0.9813 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/1.28, allocations: 1.143 MB / 0.9824 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/1.285, allocations: 1.933 MB / 0.9843 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.285, allocations: 0 / 0.9843 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006137/1.292, allocations: 2.19 MB / 0.9865 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.292, allocations: 8.938 kB / 0.9865 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.292, allocations: 11.22 kB / 0.9865 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/1.292, allocations: 23.98 kB / 0.9865 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/1.294, allocations: 405.5 kB / 0.9869 GB, free: 388 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-05/1.294, allocations: 18.61 kB / 0.9869 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.296, allocations: 282.7 kB / 0.9872 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/1.296, allocations: 69.09 kB / 0.9873 GB, free: 20 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0009292/1.297, allocations: 401.6 kB / 0.9876 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/1.298, allocations: 193.3 kB / 0.9878 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/1.304, allocations: 2.165 MB / 0.9899 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.304, allocations: 12 kB / 0.9899 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.304, allocations: 0 / 0.9899 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.304, allocations: 7.922 kB / 0.99 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.315, allocations: 4.47 MB / 0.9943 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.315, allocations: 12.16 kB / 0.9943 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.317, allocations: 336.4 kB / 0.9946 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.781e-05/1.317, allocations: 15.94 kB / 0.9947 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.317, allocations: 35.97 kB / 0.9947 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.317, allocations: 18.61 kB / 0.9947 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.317, allocations: 10.44 kB / 0.9947 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008617/1.326, allocations: 3.445 MB / 0.9981 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.327, allocations: 411.5 kB / 0.9985 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/1.327, allocations: 39.88 kB / 0.9985 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.33, allocations: 178.2 kB / 0.9987 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.33, allocations: 96.52 kB / 0.9988 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.33, allocations: 51.97 kB / 0.9988 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001938/1.332, allocations: 1.114 MB / 0.9999 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.332, allocations: 0 / 0.9999 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001955/1.334, allocations: 491.4 kB / 1 GB, free: 2.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (119): * Single equations (assignments): 113 * 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.01097/1.345, allocations: 4.487 MB / 1.005 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005817/1.351, allocations: 1.89 MB / 1.007 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.351, allocations: 4 kB / 1.007 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.353, allocations: 0.9583 MB / 1.008 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.359, allocations: 0.9552 MB / 1.008 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04178/1.401, allocations: 16 MB / 1.024 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.402, allocations: 1.376 MB / 1.025 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002233/1.404, allocations: 478.8 kB / 1.026 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.406, allocations: 0.7179 MB / 1.027 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/1.406, allocations: 0 / 1.027 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.521, allocations: 50.85 MB / 1.076 GB, free: 5.035 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.92, allocations: 7.484 kB / 1.076 GB, free: 5.031 MB / 0.795 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.629691558890045] Failed to read output from testmodel.py, exit status != 0: 14.079802274238318 14.103658064 12.896844974 Calling exit ...