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.0008395/0.0008395, 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.0008897/0.0008897, allocations: 169.9 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.904/0.904, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.714/0.714, allocations: 154.6 MB / 413.7 MB, free: 0.832 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 1.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.407e-05, allocations: 8.531 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4957/0.4957, allocations: 214.2 MB / 0.8273 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.5068, allocations: 8.081 MB / 0.8352 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.5079, allocations: 94.94 kB / 0.8353 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.5099, allocations: 1.062 MB / 0.8363 GB, free: 3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.5158, allocations: 3.3 MB / 0.8396 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.5221, allocations: 3.692 MB / 0.8432 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003702/0.5258, allocations: 4.083 MB / 0.8471 GB, free: 9.098 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5268, allocations: 1.138 MB / 0.8483 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.5302, allocations: 2.859 MB / 0.851 GB, free: 5.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.5316, allocations: 1.274 MB / 0.8523 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.5318, allocations: 136 kB / 0.8524 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004953/0.5367, allocations: 3.24 MB / 0.8556 GB, free: 412 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.5371, allocations: 0.654 MB / 0.8562 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.5377, allocations: 0.6858 MB / 0.8569 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.5412, allocations: 3.903 MB / 0.8607 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5412, allocations: 0 / 0.8607 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5412, allocations: 0 / 0.8607 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.5412, allocations: 11.92 kB / 0.8607 GB, free: 11.13 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.003362/0.5446, allocations: 2.658 MB / 0.8633 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5447, allocations: 9.469 kB / 0.8633 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.5448, allocations: 198.5 kB / 0.8635 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/0.5486, allocations: 1.333 MB / 0.8648 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5501, allocations: 1.17 MB / 0.866 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.5503, allocations: 98.59 kB / 0.8661 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5504, allocations: 132 kB / 0.8662 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.5529, allocations: 2.082 MB / 0.8682 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.553, allocations: 3.281 kB / 0.8682 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5531, allocations: 63.88 kB / 0.8683 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.5531, allocations: 62.47 kB / 0.8683 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/0.5562, allocations: 2.187 MB / 0.8705 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.5624, allocations: 6.48 MB / 0.8768 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.5649, allocations: 1.805 MB / 0.8786 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.5662, allocations: 0.9484 MB / 0.8795 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.5666, allocations: 200.8 kB / 0.8797 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.5682, allocations: 1.063 MB / 0.8807 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 3.256e-06/0.5682, allocations: 0 / 0.8807 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.004369/0.5726, allocations: 2.907 MB / 0.8836 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5726, allocations: 76.27 kB / 0.8836 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.5739, allocations: 1.691 MB / 0.8853 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.574, allocations: 49.7 kB / 0.8853 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.5744, allocations: 0.8056 MB / 0.8861 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.5746, allocations: 432.3 kB / 0.8865 GB, free: 272 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.5749, allocations: 242.9 kB / 0.8868 GB, free: 24 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.575, allocations: 353.9 kB / 0.8871 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.5764, allocations: 0.83 MB / 0.8879 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5778, allocations: 1.372 MB / 0.8892 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.5804, allocations: 1.934 MB / 0.8911 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5804, allocations: 4 kB / 0.8911 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002993/0.5834, allocations: 2.21 MB / 0.8933 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5834, allocations: 8 kB / 0.8933 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5834, allocations: 8 kB / 0.8933 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5834, allocations: 16 kB / 0.8933 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.5844, allocations: 415.4 kB / 0.8937 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.5844, allocations: 27.08 kB / 0.8937 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.5855, allocations: 286.7 kB / 0.894 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.5856, allocations: 59.97 kB / 0.8941 GB, free: 8.238 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.000453/0.5861, allocations: 396.4 kB / 0.8945 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.5862, allocations: 198.7 kB / 0.8946 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.5893, allocations: 2.223 MB / 0.8968 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5893, allocations: 18.75 kB / 0.8968 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5894, allocations: 3.938 kB / 0.8968 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5894, allocations: 7.109 kB / 0.8968 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.5947, allocations: 4.304 MB / 0.901 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5947, allocations: 4 kB / 0.9011 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.5956, allocations: 343.5 kB / 0.9014 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.5956, allocations: 12 kB / 0.9014 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.5957, allocations: 43.97 kB / 0.9014 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.5957, allocations: 15.94 kB / 0.9014 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5957, allocations: 4 kB / 0.9015 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.6003, allocations: 3.512 MB / 0.9049 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.6008, allocations: 342.3 kB / 0.9052 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6009, allocations: 32 kB / 0.9052 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.6017, allocations: 167.8 kB / 0.9054 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6018, allocations: 104.7 kB / 0.9055 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.6019, allocations: 55.91 kB / 0.9056 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009915/0.6029, allocations: 1.154 MB / 0.9067 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6029, allocations: 0 / 0.9067 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009923/0.6039, allocations: 0.4916 MB / 0.9072 GB, free: 10.58 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.005935/0.6098, allocations: 4.56 MB / 0.9116 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.6128, allocations: 1.919 MB / 0.9135 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6128, allocations: 4.062 kB / 0.9135 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6141, allocations: 0.975 MB / 0.9144 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.6164, allocations: 0.9697 MB / 0.9154 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.6354, allocations: 16.08 MB / 0.9311 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.6359, allocations: 0.8117 MB / 0.9319 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00125/0.6371, allocations: 474.6 kB / 0.9323 GB, free: 312 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.6379, allocations: 0.7346 MB / 0.9331 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of SimCode: time 8.31e-07/0.6379, allocations: 0 / 0.9331 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.6997, allocations: 55.75 MB / 0.9875 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.48, allocations: 11.88 kB / 0.9875 GB, free: 8.805 MB / 0.8386 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 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.669788972474635] Failed to read output from testmodel.py, exit status != 0: 9.602250860072672 9.883348216 9.340490097 Calling exit ...