Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001696/0.001696, allocations: 116.8 kB / 17.17 MB, free: 6 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.002067/0.002067, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8515/0.8515, allocations: 133.9 MB / 443.5 MB, free: 14.02 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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",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.002011/0.002011, allocations: 68.38 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 85.86 MB / 0.698 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6464/0.8033, allocations: 197.4 MB / 0.8908 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009261/0.8125, allocations: 5.259 MB / 0.8959 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.8146, allocations: 68.09 kB / 0.896 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.8169, allocations: 0.8324 MB / 0.8968 GB, free: 1.605 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007107/0.824, allocations: 2.749 MB / 0.8995 GB, free: 1.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.8268, allocations: 1.013 MB / 0.9005 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.8302, allocations: 2.648 MB / 0.9031 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.8315, allocations: 0.7772 MB / 0.9038 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.8336, allocations: 1.136 MB / 0.9049 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.835, allocations: 1.025 MB / 0.9059 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.8352, allocations: 78.25 kB / 0.906 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.8384, allocations: 1.903 MB / 0.9079 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.839, allocations: 451.5 kB / 0.9083 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.8398, allocations: 0.6487 MB / 0.9089 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.8437, allocations: 2.202 MB / 0.9111 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8437, allocations: 0.9375 kB / 0.9111 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8437, allocations: 0 / 0.9111 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.8438, allocations: 0 / 0.9111 GB, free: 0.9414 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005066/0.8488, allocations: 1.998 MB / 0.913 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8489, allocations: 12.3 kB / 0.913 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.709e-05/0.8489, allocations: 25.97 kB / 0.9131 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.8491, allocations: 133.2 kB / 0.9132 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/0.853, allocations: 0.6745 MB / 0.9139 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8547, allocations: 0.9712 MB / 0.9148 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.8547, allocations: 61.31 kB / 0.9149 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.8549, allocations: 91.92 kB / 0.915 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.858, allocations: 1.473 MB / 0.9164 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.858, allocations: 5.594 kB / 0.9164 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.8581, allocations: 38.48 kB / 0.9164 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.8582, allocations: 53.73 kB / 0.9165 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.862, allocations: 1.521 MB / 0.918 GB, free: 15.15 MB / 0.6856 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.007584/0.8696, allocations: 5.488 MB / 0.9233 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.8732, allocations: 1.242 MB / 0.9245 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.8748, allocations: 0.6348 MB / 0.9252 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009084/0.8757, allocations: 0.583 MB / 0.9257 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/0.8775, allocations: 0.7082 MB / 0.9264 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/0.8775, allocations: 0.8438 kB / 0.9264 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005456/0.8829, allocations: 1.885 MB / 0.9283 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.883, allocations: 63.16 kB / 0.9283 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.8845, allocations: 1.267 MB / 0.9296 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.8846, allocations: 42.33 kB / 0.9296 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.8851, allocations: 0.5976 MB / 0.9302 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.8853, allocations: 288.1 kB / 0.9305 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.8857, allocations: 185.9 kB / 0.9306 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.8858, allocations: 345.7 kB / 0.931 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.8874, allocations: 0.5342 MB / 0.9315 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.8892, allocations: 0.83 MB / 0.9323 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.8924, allocations: 1.328 MB / 0.9336 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.8924, allocations: 3.031 kB / 0.9336 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003849/0.8963, allocations: 1.5 MB / 0.9351 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.8963, allocations: 10.31 kB / 0.9351 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.8963, allocations: 8.188 kB / 0.9351 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.8964, allocations: 14.94 kB / 0.9351 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.8977, allocations: 292 kB / 0.9354 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.8978, allocations: 24.5 kB / 0.9354 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.8992, allocations: 206.4 kB / 0.9356 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.8993, allocations: 52.47 kB / 0.9356 GB, free: 9.504 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005943/0.8999, allocations: 341.8 kB / 0.936 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.9001, allocations: 141.8 kB / 0.9361 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.9039, allocations: 1.407 MB / 0.9375 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.9039, allocations: 8.75 kB / 0.9375 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9039, allocations: 0 / 0.9375 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.9039, allocations: 3.984 kB / 0.9375 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.91, allocations: 2.817 MB / 0.9402 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.91, allocations: 8.422 kB / 0.9403 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.9113, allocations: 218.3 kB / 0.9405 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/0.9113, allocations: 6.688 kB / 0.9405 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/0.9114, allocations: 30.44 kB / 0.9405 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.9114, allocations: 13.66 kB / 0.9405 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.9114, allocations: 8.094 kB / 0.9405 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.9174, allocations: 2.251 MB / 0.9427 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.918, allocations: 312.6 kB / 0.943 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.9183, allocations: 22.38 kB / 0.943 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.9195, allocations: 112.5 kB / 0.9431 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.9197, allocations: 61.44 kB / 0.9432 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.144e-05/0.9198, allocations: 37.19 kB / 0.9432 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00137/0.9212, allocations: 0.873 MB / 0.9441 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9212, allocations: 0 / 0.9441 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001357/0.9225, allocations: 319.9 kB / 0.9444 GB, free: 6.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 74 * 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.007736/0.9303, allocations: 3.232 MB / 0.9475 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003845/0.9341, allocations: 1.252 MB / 0.9488 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9341, allocations: 3.938 kB / 0.9488 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.9361, allocations: 0.621 MB / 0.9494 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/0.9399, allocations: 0.5965 MB / 0.95 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.9649, allocations: 11.06 MB / 0.9608 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.9659, allocations: 1.175 MB / 0.9619 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001348/0.9672, allocations: 345.9 kB / 0.9622 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/0.9681, allocations: 0.4953 MB / 0.9627 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of SimCode: time 7.72e-07/0.9681, allocations: 0 / 0.9627 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/1.041, allocations: 34.33 MB / 0.9963 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.79, allocations: 17.55 kB / 0.9963 GB, free: 4.289 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.759707062039524] Failed to read output from testmodel.py, exit status != 0: 12.318695256020874 12.004961229 11.158122004 Calling exit ...