Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.0007884/0.0007884, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008256/0.0008256, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8652/0.8652, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1824/0.1824, allocations: 36.35 MB / 274.3 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 414.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.402e-05, allocations: 2.281 kB / 414.3 MB, free: 6.078 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.2457/0.2458, allocations: 99.57 MB / 0.5019 GB, free: 9.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.2484, allocations: 0.9309 MB / 0.5028 GB, free: 8.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.2489, allocations: 35.62 kB / 0.5028 GB, free: 8.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.2496, allocations: 313.2 kB / 0.5031 GB, free: 8.594 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.2502, allocations: 464.5 kB / 0.5036 GB, free: 8.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009812/0.26, allocations: 4.526 MB / 0.508 GB, free: 3.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2614, allocations: 1.373 MB / 0.5093 GB, free: 2.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.2618, allocations: 371.3 kB / 0.5097 GB, free: 1.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.2623, allocations: 0.635 MB / 0.5103 GB, free: 1.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.2626, allocations: 350.8 kB / 0.5106 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.2627, allocations: 36 kB / 0.5107 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006031/0.2687, allocations: 4.162 MB / 0.5147 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.2688, allocations: 111.3 kB / 0.5148 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.269, allocations: 235.4 kB / 0.515 GB, free: 12.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.273, allocations: 3.624 MB / 0.5186 GB, free: 8.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.273, allocations: 0 / 0.5186 GB, free: 8.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.273, allocations: 3.938 kB / 0.5186 GB, free: 8.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.273, allocations: 3.938 kB / 0.5186 GB, free: 8.668 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001164/0.2741, allocations: 1.242 MB / 0.5198 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2742, allocations: 12.03 kB / 0.5198 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.2743, allocations: 90.7 kB / 0.5199 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.2743, allocations: 100.3 kB / 0.52 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2748, allocations: 409.3 kB / 0.5204 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2748, allocations: 41.38 kB / 0.5204 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.2749, allocations: 48.56 kB / 0.5205 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.2754, allocations: 0.6082 MB / 0.5211 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2754, allocations: 3.938 kB / 0.5211 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2754, allocations: 24 kB / 0.5211 GB, free: 5.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2754, allocations: 16 kB / 0.5211 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.2757, allocations: 259.4 kB / 0.5214 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.278, allocations: 4.548 MB / 0.5258 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.2781, allocations: 177.1 kB / 0.526 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.2781, allocations: 80.14 kB / 0.526 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2782, allocations: 79.28 kB / 0.5261 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2782, allocations: 109.8 kB / 0.5262 GB, free: 452 kB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.2782, allocations: 4.156 kB / 0.5262 GB, free: 448 kB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.2783, allocations: 117.1 kB / 0.5263 GB, free: 324 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.2784, allocations: 130.6 kB / 0.5265 GB, free: 180 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.279, allocations: 0.7802 MB / 0.5272 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.279, allocations: 25.7 kB / 0.5273 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.2792, allocations: 391.5 kB / 0.5276 GB, free: 14.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.2792, allocations: 4 kB / 0.5276 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2792, allocations: 37.66 kB / 0.5277 GB, free: 14.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.2793, allocations: 310 kB / 0.528 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.2793, allocations: 16 kB / 0.528 GB, free: 14.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.2794, allocations: 90.23 kB / 0.5281 GB, free: 14.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.2795, allocations: 110.2 kB / 0.5282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2795, allocations: 0 / 0.5282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002423/0.2797, allocations: 213 kB / 0.5284 GB, free: 14.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2798, allocations: 6.5 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2798, allocations: 4 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2798, allocations: 4 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.2799, allocations: 27.92 kB / 0.5284 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2799, allocations: 4 kB / 0.5284 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.28, allocations: 47.52 kB / 0.5285 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.28, allocations: 12 kB / 0.5285 GB, free: 14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001442/0.2802, allocations: 237 kB / 0.5287 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.2802, allocations: 196.5 kB / 0.5289 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.2803, allocations: 167.6 kB / 0.529 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/0.2804, allocations: 180.2 kB / 0.5292 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/0.2804, allocations: 180.3 kB / 0.5294 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-05/0.2804, allocations: 184.2 kB / 0.5296 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.2807, allocations: 0.594 MB / 0.5301 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/0.2808, allocations: 112.9 kB / 0.5303 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.2808, allocations: 105 kB / 0.5304 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-05/0.2808, allocations: 184.2 kB / 0.5305 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.2809, allocations: 180.4 kB / 0.5307 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.421e-05/0.2809, allocations: 180.3 kB / 0.5309 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.323e-05/0.281, allocations: 188.2 kB / 0.5311 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2811, allocations: 399.2 kB / 0.5314 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.2812, allocations: 168.5 kB / 0.5316 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.2813, allocations: 180.3 kB / 0.5318 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2814, allocations: 108.9 kB / 0.5319 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.2814, allocations: 176.3 kB / 0.532 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.2815, allocations: 108.9 kB / 0.5321 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004908/0.2819, allocations: 0.531 MB / 0.5327 GB, free: 9.492 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2819, allocations: 0 / 0.5327 GB, free: 9.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001139/0.2831, allocations: 0.752 MB / 0.5334 GB, free: 8.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00188/0.285, allocations: 1.802 MB / 0.5352 GB, free: 6.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2851, allocations: 55.78 kB / 0.5352 GB, free: 6.852 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2851, allocations: 0 / 0.5352 GB, free: 6.852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.2851, allocations: 0 / 0.5352 GB, free: 6.852 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2864, allocations: 0.8855 MB / 0.5361 GB, free: 5.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.2902, allocations: 4.764 MB / 0.5407 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2903, allocations: 281.1 kB / 0.541 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.2906, allocations: 125.6 kB / 0.5411 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.2908, allocations: 256.4 kB / 0.5414 GB, free: 320 kB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2908, allocations: 3.938 kB / 0.5414 GB, free: 316 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/0.3407, allocations: 36.32 MB / 0.5768 GB, free: 11.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.088, allocations: 7.875 kB / 0.5768 GB, free: 11.87 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestSources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ThermoPower_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.127757248468697] Failed to read output from testmodel.py, exit status != 0: 8.184368433430791 8.198896875 7.923715252 Calling exit ...