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.000743/0.000743, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000847/0.000847, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9773/0.9773, allocations: 230.6 MB / 256 MB, free: 9.805 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.7979/0.7979, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.0009837/0.0009837, allocations: 73.61 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5241, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1998/0.7239, allocations: 246.4 MB / 1.059 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.7346, allocations: 8.585 MB / 1.067 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.7368, allocations: 99.12 kB / 1.067 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.7389, allocations: 1.076 MB / 1.068 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006415/0.7453, allocations: 3.267 MB / 1.071 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.7517, allocations: 3.654 MB / 1.075 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004542/0.7562, allocations: 3.999 MB / 1.079 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.7577, allocations: 1.112 MB / 1.08 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.7614, allocations: 2.332 MB / 1.082 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.763, allocations: 1.436 MB / 1.084 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.7633, allocations: 128 kB / 1.084 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/0.7695, allocations: 4.263 MB / 1.088 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.77, allocations: 0.6034 MB / 1.088 GB, free: 28 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.7709, allocations: 0.9909 MB / 1.089 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.008231/0.7792, allocations: 3.881 MB / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7792, allocations: 3.938 kB / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7792, allocations: 0 / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.352e-05/0.7792, allocations: 0 / 1.093 GB, free: 11.13 MB / 0.8698 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.004641/0.7839, allocations: 2.647 MB / 1.096 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7839, allocations: 15.97 kB / 1.096 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.7841, allocations: 190.4 kB / 1.096 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.7876, allocations: 1.103 MB / 1.097 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.7896, allocations: 1.172 MB / 1.098 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.7896, allocations: 98.56 kB / 1.098 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.7898, allocations: 128 kB / 1.098 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.7924, allocations: 1.976 MB / 1.1 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.7924, allocations: 11.92 kB / 1.1 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.7925, allocations: 59.98 kB / 1.1 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.7926, allocations: 66.3 kB / 1.1 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.7954, allocations: 1.87 MB / 1.102 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007844/0.8033, allocations: 9.113 MB / 1.111 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.8057, allocations: 1.541 MB / 1.113 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.8068, allocations: 0.7508 MB / 1.113 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/0.8072, allocations: 140.9 kB / 1.114 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.8084, allocations: 0.8598 MB / 1.114 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.687e-06/0.8084, allocations: 0 / 1.114 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.00399/0.8124, allocations: 2.326 MB / 1.117 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.8125, allocations: 64.41 kB / 1.117 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.8144, allocations: 1.701 MB / 1.118 GB, free: 332 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.8145, allocations: 49.69 kB / 1.118 GB, free: 276 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.815, allocations: 0.8519 MB / 1.119 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.8153, allocations: 380.8 kB / 1.12 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8156, allocations: 238.8 kB / 1.12 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8157, allocations: 353.9 kB / 1.12 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.8167, allocations: 0.6661 MB / 1.121 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.818, allocations: 1.055 MB / 1.122 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.82, allocations: 1.711 MB / 1.124 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.82, allocations: 4 kB / 1.124 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0027/0.8227, allocations: 1.925 MB / 1.125 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8228, allocations: 12 kB / 1.125 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8228, allocations: 12 kB / 1.125 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.8228, allocations: 16 kB / 1.125 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.8237, allocations: 363.5 kB / 1.126 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.8237, allocations: 27.86 kB / 1.126 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.8247, allocations: 246.7 kB / 1.126 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.8248, allocations: 64.06 kB / 1.126 GB, free: 8.035 MB / 0.9011 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.0006038/0.8254, allocations: 411.2 kB / 1.127 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.8256, allocations: 198.7 kB / 1.127 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.8283, allocations: 1.817 MB / 1.128 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.8283, allocations: 12 kB / 1.129 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8284, allocations: 0 / 1.129 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.8284, allocations: 3.984 kB / 1.129 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.8332, allocations: 3.924 MB / 1.132 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.8332, allocations: 8 kB / 1.132 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/0.834, allocations: 276.3 kB / 1.133 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.834, allocations: 12 kB / 1.133 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.834, allocations: 39.91 kB / 1.133 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.8341, allocations: 15.98 kB / 1.133 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.8341, allocations: 11.94 kB / 1.133 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.8383, allocations: 2.896 MB / 1.136 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.8391, allocations: 322.3 kB / 1.136 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.8394, allocations: 35.98 kB / 1.136 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.8401, allocations: 127.7 kB / 1.136 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8403, allocations: 88.41 kB / 1.136 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.8404, allocations: 47.97 kB / 1.136 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001407/0.8418, allocations: 1.155 MB / 1.137 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8418, allocations: 0 / 1.137 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001169/0.8429, allocations: 467.5 kB / 1.138 GB, free: 11.91 MB / 0.9167 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 (107): * Single equations (assignments): 101 * 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.004945/0.8479, allocations: 3.919 MB / 1.142 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.8506, allocations: 1.569 MB / 1.143 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8506, allocations: 4 kB / 1.143 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8517, allocations: 0.7821 MB / 1.144 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8543, allocations: 0.9203 MB / 1.145 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3773/1.232, allocations: 15.03 MB / 1.159 GB, free: 301.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/1.232, allocations: 1.373 MB / 1.161 GB, free: 300.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001503/1.234, allocations: 460.4 kB / 1.161 GB, free: 300.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/1.235, allocations: 0.7149 MB / 1.162 GB, free: 300.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.483e-06/1.235, allocations: 1.062 kB / 1.162 GB, free: 300.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/1.304, allocations: 50.37 MB / 1.211 GB, free: 271.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/10.43, allocations: 3.938 kB / 1.211 GB, free: 271.8 MB / 0.9167 GB " [Timeout remaining time 649] (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: 13.50548300310038] Failed to read output from testmodel.py, exit status != 0: 10.547914267983288 10.5577862 9.777007027 Calling exit ...