Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.0007484/0.0007484, 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.0007576/0.0007576, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9835/0.9835, allocations: 230.6 MB / 256 MB, free: 9.816 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.7988/0.7988, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0009945/0.0009945, allocations: 73.84 kB / 0.7183 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5232, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2022/0.7255, allocations: 246.5 MB / 1.059 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.7357, allocations: 8.579 MB / 1.067 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.7375, allocations: 103 kB / 1.067 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.7397, allocations: 1.076 MB / 1.068 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00666/0.7463, allocations: 3.275 MB / 1.071 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007802/0.7541, allocations: 3.643 MB / 1.075 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005505/0.7596, allocations: 4.077 MB / 1.079 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.7617, allocations: 1.141 MB / 1.08 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.7661, allocations: 2.367 MB / 1.082 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.7682, allocations: 1.475 MB / 1.084 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.7685, allocations: 136 kB / 1.084 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/0.775, allocations: 4.275 MB / 1.088 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007068/0.7757, allocations: 0.6268 MB / 1.089 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.7769, allocations: 1.003 MB / 1.09 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.009742/0.7866, allocations: 3.932 MB / 1.093 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7867, allocations: 0 / 1.093 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7867, allocations: 0 / 1.093 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.047e-05/0.7867, allocations: 0 / 1.093 GB, free: 10.94 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004599/0.7913, allocations: 2.682 MB / 1.096 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7914, allocations: 15.97 kB / 1.096 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.7915, allocations: 202.5 kB / 1.096 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.7959, allocations: 1.329 MB / 1.098 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.7979, allocations: 1.196 MB / 1.099 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.798, allocations: 106.6 kB / 1.099 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.7982, allocations: 128 kB / 1.099 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.8013, allocations: 2.075 MB / 1.101 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.8013, allocations: 7.938 kB / 1.101 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-05/0.8014, allocations: 52 kB / 1.101 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.8014, allocations: 66.47 kB / 1.101 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.8048, allocations: 2.18 MB / 1.103 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008012/0.8128, allocations: 8.331 MB / 1.111 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.8156, allocations: 1.795 MB / 1.113 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.8169, allocations: 0.9327 MB / 1.114 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/0.8177, allocations: 208.8 kB / 1.114 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.8192, allocations: 1.059 MB / 1.115 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=119): time 4.078e-06/0.8192, allocations: 0 / 1.115 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119): time 0.004844/0.8241, allocations: 2.884 MB / 1.118 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.8241, allocations: 64.41 kB / 1.118 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.8258, allocations: 1.652 MB / 1.12 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/0.8259, allocations: 49.69 kB / 1.12 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.8264, allocations: 0.8211 MB / 1.121 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.8268, allocations: 436.2 kB / 1.121 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/0.8274, allocations: 242.8 kB / 1.121 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8275, allocations: 353.9 kB / 1.122 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.8287, allocations: 0.8183 MB / 1.122 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.8302, allocations: 1.139 MB / 1.124 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.8328, allocations: 1.926 MB / 1.125 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.8328, allocations: 0 / 1.125 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003349/0.8362, allocations: 2.194 MB / 1.128 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8362, allocations: 11.94 kB / 1.128 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8362, allocations: 15.88 kB / 1.128 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.8362, allocations: 16 kB / 1.128 GB, free: 6.914 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8373, allocations: 411.9 kB / 1.128 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.8373, allocations: 19.94 kB / 1.128 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8387, allocations: 278.7 kB / 1.128 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/0.8388, allocations: 59.97 kB / 1.128 GB, free: 6.16 MB / 0.9011 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.0006716/0.8394, allocations: 403.3 kB / 1.129 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.8397, allocations: 210.6 kB / 1.129 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.8429, allocations: 2.199 MB / 1.131 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8429, allocations: 8.094 kB / 1.131 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8429, allocations: 7.938 kB / 1.131 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8429, allocations: 7.969 kB / 1.131 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/0.8489, allocations: 4.467 MB / 1.135 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8489, allocations: 8 kB / 1.135 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/0.8499, allocations: 336.3 kB / 1.136 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.8499, allocations: 16 kB / 1.136 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.8499, allocations: 39.97 kB / 1.136 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.85, allocations: 19.92 kB / 1.136 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.85, allocations: 11.94 kB / 1.136 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/0.8548, allocations: 3.469 MB / 1.139 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.8554, allocations: 338.4 kB / 1.14 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.8557, allocations: 31.98 kB / 1.14 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/0.8566, allocations: 171.8 kB / 1.14 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.8567, allocations: 96.67 kB / 1.14 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.8568, allocations: 56.09 kB / 1.14 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001244/0.858, allocations: 1.142 MB / 1.141 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/0.858, allocations: 0 / 1.141 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001067/0.8591, allocations: 495.4 kB / 1.141 GB, free: 8.418 MB / 0.9167 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 (122): * Single equations (assignments): 116 * 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.005855/0.865, allocations: 4.501 MB / 1.146 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.868, allocations: 1.895 MB / 1.148 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.868, allocations: 4 kB / 1.148 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.8694, allocations: 0.9674 MB / 1.149 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.8723, allocations: 0.9593 MB / 1.15 GB, free: 212 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3733/1.246, allocations: 16.09 MB / 1.165 GB, free: 300.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/1.246, allocations: 1.386 MB / 1.167 GB, free: 300 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001618/1.248, allocations: 482.3 kB / 1.167 GB, free: 299.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000847/1.249, allocations: 0.7368 MB / 1.168 GB, free: 299.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.473e-06/1.249, allocations: 0.9062 kB / 1.168 GB, free: 299.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/1.317, allocations: 52.17 MB / 1.219 GB, free: 265.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.022/10.34, allocations: 5.312 kB / 1.219 GB, free: 265.6 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.392303369008005] Failed to read output from testmodel.py, exit status != 0: 10.46196002094075 10.469910416 9.680744256 Calling exit ...