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.001128/0.001128, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000863/0.000863, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9011/0.9011, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7296/0.7296, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.084e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5256/0.5256, allocations: 214.2 MB / 0.8273 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.5362, allocations: 8.076 MB / 0.8352 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.5375, allocations: 90.97 kB / 0.8353 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.5394, allocations: 1.062 MB / 0.8363 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.5453, allocations: 3.314 MB / 0.8396 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006562/0.5518, allocations: 3.684 MB / 0.8432 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.5562, allocations: 4.091 MB / 0.8471 GB, free: 9.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.5578, allocations: 1.138 MB / 0.8483 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.5626, allocations: 2.851 MB / 0.851 GB, free: 5.027 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.5642, allocations: 1.274 MB / 0.8523 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5644, allocations: 136 kB / 0.8524 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.5694, allocations: 3.244 MB / 0.8556 GB, free: 372 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.57, allocations: 0.6579 MB / 0.8562 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.5707, allocations: 0.678 MB / 0.8569 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.5756, allocations: 3.918 MB / 0.8607 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5756, allocations: 0 / 0.8607 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5756, allocations: 0 / 0.8607 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.809e-05/0.5756, allocations: 0 / 0.8607 GB, free: 11.09 MB / 0.7136 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.004022/0.5796, allocations: 2.658 MB / 0.8633 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5797, allocations: 13.47 kB / 0.8633 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.5798, allocations: 198.5 kB / 0.8635 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.5839, allocations: 1.329 MB / 0.8648 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.5855, allocations: 1.169 MB / 0.866 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.5855, allocations: 106.6 kB / 0.8661 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5857, allocations: 128 kB / 0.8662 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.5882, allocations: 2.079 MB / 0.8682 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.5883, allocations: 7.938 kB / 0.8682 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.5884, allocations: 55.92 kB / 0.8683 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.5884, allocations: 62.47 kB / 0.8683 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.5916, allocations: 2.191 MB / 0.8705 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006843/0.5985, allocations: 6.476 MB / 0.8768 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.6015, allocations: 1.821 MB / 0.8786 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.6028, allocations: 0.9366 MB / 0.8795 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.6033, allocations: 200.8 kB / 0.8797 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.6049, allocations: 1.063 MB / 0.8807 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 3.306e-06/0.6049, allocations: 0 / 0.8807 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.004677/0.6096, allocations: 2.908 MB / 0.8836 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.6096, allocations: 72.34 kB / 0.8836 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.6111, allocations: 1.695 MB / 0.8853 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.6113, allocations: 45.7 kB / 0.8853 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.6118, allocations: 0.8134 MB / 0.8861 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.6121, allocations: 428.3 kB / 0.8865 GB, free: 232 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.6124, allocations: 234.9 kB / 0.8867 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6125, allocations: 357.9 kB / 0.8871 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.6138, allocations: 0.8367 MB / 0.8879 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.6153, allocations: 1.372 MB / 0.8892 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.618, allocations: 1.934 MB / 0.8911 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.618, allocations: 4 kB / 0.8911 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003316/0.6214, allocations: 2.21 MB / 0.8933 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6214, allocations: 8 kB / 0.8933 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6214, allocations: 11.94 kB / 0.8933 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6214, allocations: 12 kB / 0.8933 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6224, allocations: 411.8 kB / 0.8937 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.6224, allocations: 31.08 kB / 0.8938 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/0.6234, allocations: 286.6 kB / 0.894 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.6235, allocations: 66.41 kB / 0.8941 GB, free: 8.191 MB / 0.7448 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.0005512/0.6241, allocations: 400.3 kB / 0.8945 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.6242, allocations: 198.7 kB / 0.8947 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.6273, allocations: 2.219 MB / 0.8968 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.6273, allocations: 12 kB / 0.8968 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6273, allocations: 3.938 kB / 0.8968 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6273, allocations: 7.984 kB / 0.8968 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.6327, allocations: 4.304 MB / 0.9011 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6327, allocations: 8 kB / 0.9011 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.6336, allocations: 343.5 kB / 0.9014 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.6336, allocations: 12 kB / 0.9014 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.6337, allocations: 39.97 kB / 0.9014 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.6337, allocations: 15.94 kB / 0.9015 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6337, allocations: 11.94 kB / 0.9015 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/0.6381, allocations: 3.497 MB / 0.9049 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.6387, allocations: 342.3 kB / 0.9052 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6388, allocations: 39.98 kB / 0.9052 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/0.6396, allocations: 167.7 kB / 0.9054 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.6397, allocations: 104.7 kB / 0.9055 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.6398, allocations: 55.91 kB / 0.9056 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001218/0.641, allocations: 1.15 MB / 0.9067 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/0.641, allocations: 0 / 0.9067 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001029/0.642, allocations: 0.4916 MB / 0.9072 GB, free: 10.54 MB / 0.7605 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.005812/0.6478, allocations: 4.567 MB / 0.9116 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.651, allocations: 1.919 MB / 0.9135 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.651, allocations: 4 kB / 0.9135 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.6524, allocations: 0.9828 MB / 0.9145 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.655, allocations: 0.9552 MB / 0.9154 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/0.675, allocations: 16.08 MB / 0.9311 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.6756, allocations: 0.8039 MB / 0.9319 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00143/0.6771, allocations: 474.6 kB / 0.9323 GB, free: 276 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/0.6779, allocations: 0.7386 MB / 0.933 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of SimCode: time 1.603e-06/0.6779, allocations: 3.938 kB / 0.9331 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.7401, allocations: 55.75 MB / 0.9875 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.158, allocations: 14.77 kB / 0.9875 GB, free: 8.762 MB / 0.8386 GB " [Timeout remaining time 651] (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: 12.284439726732671] Failed to read output from testmodel.py, exit status != 0: 9.28175953682512 9.587434977 9.009797715 Calling exit ...