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.0008133/0.0008133, 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.0009368/0.0009368, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9784/0.9784, allocations: 230.6 MB / 256 MB, free: 9.598 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.798/0.798, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.001628/0.001628, allocations: 70.73 kB / 0.7182 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5945, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2021/0.7966, allocations: 214.7 MB / 1.027 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.8073, allocations: 8.07 MB / 1.035 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.8095, allocations: 99.06 kB / 1.035 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.8118, allocations: 1.049 MB / 1.036 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/0.8186, allocations: 3.224 MB / 1.04 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007899/0.8265, allocations: 3.534 MB / 1.043 GB, free: 14.19 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005986/0.8325, allocations: 4.046 MB / 1.047 GB, free: 10.13 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.8348, allocations: 1.126 MB / 1.048 GB, free: 8.969 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.8397, allocations: 2.359 MB / 1.05 GB, free: 6.602 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.842, allocations: 1.404 MB / 1.052 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.8423, allocations: 136 kB / 1.052 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006556/0.8489, allocations: 3.183 MB / 1.055 GB, free: 1.867 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.8496, allocations: 0.6307 MB / 1.056 GB, free: 1.234 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.8508, allocations: 0.8396 MB / 1.056 GB, free: 400 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007411/0.8582, allocations: 3.784 MB / 1.06 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.8582, allocations: 0 / 1.06 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8582, allocations: 3.938 kB / 1.06 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.461e-05/0.8582, allocations: 0 / 1.06 GB, free: 12.59 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00476/0.863, allocations: 2.67 MB / 1.063 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.863, allocations: 12.03 kB / 1.063 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.8632, allocations: 194.5 kB / 1.063 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.8679, allocations: 1.333 MB / 1.064 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.87, allocations: 1.181 MB / 1.065 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.8701, allocations: 98.59 kB / 1.066 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.8702, allocations: 132 kB / 1.066 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.8731, allocations: 2.078 MB / 1.068 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.8732, allocations: 3.938 kB / 1.068 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8733, allocations: 59.98 kB / 1.068 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.61e-05/0.8733, allocations: 66.47 kB / 1.068 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.877, allocations: 2.18 MB / 1.07 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007835/0.8849, allocations: 6.501 MB / 1.076 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.8877, allocations: 1.812 MB / 1.078 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.8891, allocations: 0.9406 MB / 1.079 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.8896, allocations: 196.8 kB / 1.079 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/0.8912, allocations: 1.059 MB / 1.08 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=119): time 5.46e-06/0.8912, allocations: 0 / 1.08 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119): time 0.005382/0.8966, allocations: 2.915 MB / 1.083 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.8966, allocations: 64.41 kB / 1.083 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.8983, allocations: 1.691 MB / 1.085 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.8984, allocations: 53.7 kB / 1.085 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.899, allocations: 0.8095 MB / 1.086 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.8993, allocations: 440.2 kB / 1.086 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.8996, allocations: 242.8 kB / 1.086 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8997, allocations: 353.9 kB / 1.087 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.901, allocations: 0.8261 MB / 1.087 GB, free: 244 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.9025, allocations: 1.364 MB / 1.089 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.9054, allocations: 1.946 MB / 1.091 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.9054, allocations: 4 kB / 1.091 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003511/0.9089, allocations: 2.202 MB / 1.093 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.909, allocations: 14.41 kB / 1.093 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.909, allocations: 12 kB / 1.093 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.909, allocations: 12 kB / 1.093 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.9102, allocations: 415.3 kB / 1.093 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.944e-05/0.9102, allocations: 19.92 kB / 1.093 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.9117, allocations: 286.7 kB / 1.094 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9118, allocations: 59.97 kB / 1.094 GB, free: 9.625 MB / 0.8698 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.0008801/0.9127, allocations: 403.3 kB / 1.094 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.913, allocations: 202.7 kB / 1.094 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.9166, allocations: 2.222 MB / 1.096 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.9167, allocations: 12 kB / 1.096 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.9167, allocations: 4 kB / 1.096 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.9167, allocations: 11.97 kB / 1.096 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/0.923, allocations: 4.295 MB / 1.101 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.923, allocations: 11.94 kB / 1.101 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.924, allocations: 340.3 kB / 1.101 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.924, allocations: 19.98 kB / 1.101 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/0.9241, allocations: 39.97 kB / 1.101 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.9241, allocations: 15.94 kB / 1.101 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9241, allocations: 15.88 kB / 1.101 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/0.9291, allocations: 3.516 MB / 1.104 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/0.9297, allocations: 346.3 kB / 1.105 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.9299, allocations: 32 kB / 1.105 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.9308, allocations: 175.8 kB / 1.105 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.9309, allocations: 100.7 kB / 1.105 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.931, allocations: 51.97 kB / 1.105 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001201/0.9322, allocations: 1.154 MB / 1.106 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9322, allocations: 0 / 1.106 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001168/0.9334, allocations: 499.4 kB / 1.107 GB, free: 11.95 MB / 0.8855 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 (125): * Single equations (assignments): 119 * 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.00605/0.9394, allocations: 4.57 MB / 1.111 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.9426, allocations: 1.922 MB / 1.113 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.9426, allocations: 0 / 1.113 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.9441, allocations: 0.9791 MB / 1.114 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.9468, allocations: 0.9577 MB / 1.115 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.969, allocations: 16.14 MB / 1.131 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/0.9699, allocations: 0.8156 MB / 1.131 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001517/0.9714, allocations: 478.6 kB / 1.132 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008444/0.9723, allocations: 0.7296 MB / 1.133 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of SimCode: time 3.667e-06/0.9723, allocations: 0 / 1.133 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4756/1.448, allocations: 55.93 MB / 1.187 GB, free: 289.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/9.998, allocations: 14.36 kB / 1.187 GB, free: 289.5 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.077671247068793] Failed to read output from testmodel.py, exit status != 0: 10.11799466656521 10.128067821 9.267655541 Calling exit ...