Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0514/0.0514, allocations: 8.23 MB / 311.6 MB, free: 2.004 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.84 kB / 433.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2724, allocations: 54.36 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.00196/0.2744, allocations: 0.7736 MB / 489.1 MB, free: 26.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2758, allocations: 1.16 MB / 490.2 MB, free: 25.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.2758, allocations: 5.188 kB / 490.2 MB, free: 25.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.2759, allocations: 3.938 kB / 490.2 MB, free: 25.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.2761, allocations: 15.36 kB / 490.2 MB, free: 25.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.2763, allocations: 29.52 kB / 490.3 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.2765, allocations: 93.66 kB / 490.4 MB, free: 25.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.2766, allocations: 10.84 kB / 490.4 MB, free: 25.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2767, allocations: 41.92 kB / 490.4 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2768, allocations: 38.77 kB / 490.5 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2769, allocations: 7.656 kB / 490.5 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.2769, allocations: 12.09 kB / 490.5 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.2769, allocations: 32.28 kB / 490.5 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.277, allocations: 48.05 kB / 490.6 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2771, allocations: 79.17 kB / 490.6 MB, free: 25.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2771, allocations: 0 / 490.6 MB, free: 25.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2771, allocations: 1.156 kB / 490.6 MB, free: 25.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2771, allocations: 0 / 490.6 MB, free: 25.65 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009313/0.2781, allocations: 447.5 kB / 491.1 MB, free: 25.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2781, allocations: 14.14 kB / 491.1 MB, free: 25.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.2782, allocations: 37.78 kB / 491.1 MB, free: 25.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.2782, allocations: 10.36 kB / 491.1 MB, free: 25.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2783, allocations: 171.2 kB / 491.3 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.2785, allocations: 57.09 kB / 491.4 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.2785, allocations: 12.41 kB / 491.4 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2796, allocations: 418.2 kB / 491.8 MB, free: 24.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2796, allocations: 0 / 491.8 MB, free: 24.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2796, allocations: 5.375 kB / 491.8 MB, free: 24.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2796, allocations: 1.938 kB / 491.8 MB, free: 24.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.2801, allocations: 165.6 kB / 491.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.2805, allocations: 377.2 kB / 492.3 MB, free: 24.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.2813, allocations: 314.6 kB / 492.6 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2817, allocations: 153.8 kB / 492.8 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.2817, allocations: 2.75 kB / 492.8 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.2817, allocations: 39.94 kB / 492.8 MB, free: 23.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2817, allocations: 4 kB / 492.8 MB, free: 23.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001008/0.2827, allocations: 343.6 kB / 493.2 MB, free: 23.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.2828, allocations: 111.9 kB / 493.3 MB, free: 23.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.2828, allocations: 103.2 kB / 493.4 MB, free: 23.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2828, allocations: 30.98 kB / 493.4 MB, free: 23.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.2829, allocations: 81.42 kB / 493.5 MB, free: 23.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2829, allocations: 18.44 kB / 493.5 MB, free: 23.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.2829, allocations: 26.03 kB / 493.5 MB, free: 23.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.283, allocations: 325 kB / 493.8 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.283, allocations: 21.98 kB / 493.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.2831, allocations: 96.94 kB / 493.9 MB, free: 22.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2832, allocations: 127.5 kB / 494.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2832, allocations: 1.344 kB / 494.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000167/0.2834, allocations: 136.4 kB / 494.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2834, allocations: 6 kB / 494.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2834, allocations: 6.609 kB / 494.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2834, allocations: 7.875 kB / 494.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.2835, allocations: 20.69 kB / 494.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.2835, allocations: 10.98 kB / 494.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.2836, allocations: 8.594 kB / 494.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2836, allocations: 10.44 kB / 494.3 MB, free: 22.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (14): * Single equations (assignments): 14 * 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 6.629e-05/0.2836, allocations: 126.9 kB / 494.4 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.2842, allocations: 236.9 kB / 494.6 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2843, allocations: 58.72 kB / 494.7 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2843, allocations: 1.25 kB / 494.7 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2844, allocations: 1.5 kB / 494.7 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2844, allocations: 1.25 kB / 494.7 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.2845, allocations: 192.5 kB / 494.9 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2845, allocations: 0 / 494.9 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2848, allocations: 50.12 kB / 494.9 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2848, allocations: 1.375 kB / 494.9 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2848, allocations: 5.375 kB / 494.9 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2848, allocations: 1.375 kB / 494.9 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2848, allocations: 1.375 kB / 494.9 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.2855, allocations: 436.7 kB / 495.4 MB, free: 21.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.2855, allocations: 87.8 kB / 495.5 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2855, allocations: 1.375 kB / 495.5 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2857, allocations: 31.09 kB / 495.5 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2857, allocations: 5.312 kB / 495.5 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2858, allocations: 4.125 kB / 495.5 MB, free: 21.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.632e-05/0.2858, allocations: 87.39 kB / 495.6 MB, free: 21.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2858, allocations: 0 / 495.6 MB, free: 21.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.2861, allocations: 19.12 kB / 495.6 MB, free: 21.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0007964/0.2869, allocations: 0.9568 MB / 496.6 MB, free: 20.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.2873, allocations: 156.7 kB / 496.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2873, allocations: 0 / 496.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.2873, allocations: 5.344 kB / 496.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.2879, allocations: 131.6 kB / 496.8 MB, free: 20.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2902, allocations: 1.85 MB / 498.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2904, allocations: 0.6998 MB / 499.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.2904, allocations: 8.797 kB / 499.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.2905, allocations: 16.78 kB / 499.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2905, allocations: 0 / 499.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3138, allocations: 2.176 MB / 0.4898 GB, free: 16.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.808, allocations: 1.5 kB / 0.4898 GB, free: 16.91 MB / 366.1 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.197913258802146] Failed to read output from testmodel.py, exit status != 0: 7.878432222176343 7.901563135 7.620550366 Calling exit ...