Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001107/0.001107, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001051/0.001051, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9843/0.9843, allocations: 230.6 MB / 256 MB, free: 9.438 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7847/0.7847, allocations: 203.8 MB / 0.5042 GB, free: 10.38 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001043/0.001043, allocations: 74.03 kB / 0.7182 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5808, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1985/0.7794, allocations: 214.7 MB / 1.027 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.792, allocations: 8.078 MB / 1.035 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.7944, allocations: 99.12 kB / 1.035 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.7969, allocations: 1.045 MB / 1.036 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.8038, allocations: 3.231 MB / 1.04 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007108/0.811, allocations: 3.526 MB / 1.043 GB, free: 14.25 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00539/0.8163, allocations: 3.979 MB / 1.047 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.8184, allocations: 1.089 MB / 1.048 GB, free: 9.129 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/0.8237, allocations: 2.328 MB / 1.05 GB, free: 6.793 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.8269, allocations: 1.377 MB / 1.052 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.8275, allocations: 124 kB / 1.052 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006568/0.834, allocations: 3.175 MB / 1.055 GB, free: 2.105 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.8352, allocations: 0.619 MB / 1.055 GB, free: 1.484 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.8366, allocations: 0.8162 MB / 1.056 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008275/0.8449, allocations: 3.721 MB / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.8449, allocations: 0 / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8449, allocations: 0 / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.384e-05/0.845, allocations: 4 kB / 1.06 GB, free: 12.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005596/0.8506, allocations: 2.643 MB / 1.063 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.8506, allocations: 8.031 kB / 1.063 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/0.8508, allocations: 202.4 kB / 1.063 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.8547, allocations: 1.087 MB / 1.064 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.8567, allocations: 1.15 MB / 1.065 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.8567, allocations: 102.4 kB / 1.065 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.8569, allocations: 139.9 kB / 1.065 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.8595, allocations: 1.98 MB / 1.067 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.8596, allocations: 7.938 kB / 1.067 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.8597, allocations: 55.98 kB / 1.067 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.8597, allocations: 66.3 kB / 1.067 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.8628, allocations: 1.882 MB / 1.069 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007914/0.8707, allocations: 7.203 MB / 1.076 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.8734, allocations: 1.557 MB / 1.078 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.8746, allocations: 0.7547 MB / 1.078 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.8751, allocations: 136.9 kB / 1.078 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.8764, allocations: 0.8721 MB / 1.079 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 3.827e-06/0.8764, allocations: 4 kB / 1.079 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104): time 0.004312/0.8807, allocations: 2.342 MB / 1.082 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.8807, allocations: 64.41 kB / 1.082 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.8831, allocations: 1.736 MB / 1.083 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.8833, allocations: 45.7 kB / 1.083 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.8839, allocations: 0.8519 MB / 1.084 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.8843, allocations: 380.8 kB / 1.085 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.8846, allocations: 238.8 kB / 1.085 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8847, allocations: 357.9 kB / 1.085 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.8858, allocations: 0.67 MB / 1.086 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.8871, allocations: 1.288 MB / 1.087 GB, free: 312 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.8894, allocations: 1.727 MB / 1.089 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.8894, allocations: 4 kB / 1.089 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003095/0.8925, allocations: 1.941 MB / 1.091 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.8925, allocations: 8 kB / 1.091 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.8925, allocations: 12 kB / 1.091 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.8926, allocations: 16 kB / 1.091 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.8935, allocations: 367.8 kB / 1.091 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.8935, allocations: 23.92 kB / 1.091 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8946, allocations: 246.7 kB / 1.091 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.8947, allocations: 59.98 kB / 1.091 GB, free: 11.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0006678/0.8953, allocations: 423.2 kB / 1.092 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.8956, allocations: 198.7 kB / 1.092 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.8982, allocations: 1.836 MB / 1.094 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.8982, allocations: 12 kB / 1.094 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8982, allocations: 0 / 1.094 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.8982, allocations: 7.984 kB / 1.094 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.9032, allocations: 3.792 MB / 1.097 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.9032, allocations: 12.09 kB / 1.097 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.904, allocations: 283.9 kB / 1.098 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.904, allocations: 12 kB / 1.098 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.9041, allocations: 39.97 kB / 1.098 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.9041, allocations: 11.94 kB / 1.098 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9041, allocations: 8 kB / 1.098 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/0.908, allocations: 2.94 MB / 1.101 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.9087, allocations: 330.3 kB / 1.101 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.909, allocations: 27.98 kB / 1.101 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.9098, allocations: 127.9 kB / 1.101 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9099, allocations: 88.34 kB / 1.101 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.91, allocations: 47.97 kB / 1.101 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001306/0.9113, allocations: 1.175 MB / 1.102 GB, free: 120 kB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9113, allocations: 3.938 kB / 1.102 GB, free: 116 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001344/0.9126, allocations: 471.5 kB / 1.103 GB, free: 15.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (110): * Single equations (assignments): 104 * 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.005786/0.9184, allocations: 3.992 MB / 1.107 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002818/0.9212, allocations: 1.589 MB / 1.108 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9212, allocations: 256 / 1.108 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.9225, allocations: 0.7935 MB / 1.109 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.9254, allocations: 0.9288 MB / 1.11 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.9459, allocations: 15.07 MB / 1.125 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.9466, allocations: 0.8028 MB / 1.126 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001365/0.948, allocations: 454.5 kB / 1.126 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007386/0.9487, allocations: 0.7179 MB / 1.127 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of SimCode: time 2.294e-06/0.9487, allocations: 0 / 1.127 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.483/1.432, allocations: 53.99 MB / 1.179 GB, free: 291.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/9.231, allocations: 9.375 kB / 1.179 GB, free: 291.3 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.405013504903764] Failed to read output from testmodel.py, exit status != 0: 9.35705815628171 9.370053647 8.522433434 Calling exit ...