Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001278/0.001278, allocations: 110 kB / 17.17 MB, free: 5.867 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.001307/0.001307, allocations: 195.6 kB / 20.12 MB, free: 2.93 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.389/1.389, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.05236/0.05236, allocations: 8.23 MB / 311.6 MB, free: 2.062 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.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 434 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 54.36 MB / 488.3 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002596/0.2755, allocations: 1.783 MB / 490.1 MB, free: 26.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2772, allocations: 1.487 MB / 491.6 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2773, allocations: 7.594 kB / 491.6 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.2777, allocations: 126.5 kB / 491.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.2779, allocations: 94.91 kB / 491.8 MB, free: 24.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.2795, allocations: 0.938 MB / 492.7 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.2798, allocations: 237.8 kB / 493 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.28, allocations: 85.41 kB / 493.1 MB, free: 23.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2801, allocations: 99.52 kB / 493.2 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.2803, allocations: 151.3 kB / 493.3 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.2804, allocations: 24.94 kB / 493.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.2808, allocations: 207.4 kB / 493.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.2808, allocations: 55.61 kB / 493.6 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2809, allocations: 120.1 kB / 493.7 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.2815, allocations: 418.1 kB / 494.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2815, allocations: 0 / 494.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2815, allocations: 0 / 494.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2815, allocations: 1.375 kB / 494.1 MB, free: 23.2 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001953/0.2834, allocations: 0.7702 MB / 494.9 MB, free: 22.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2835, allocations: 17.48 kB / 494.9 MB, free: 22.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.2835, allocations: 62.97 kB / 495 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.2836, allocations: 29.12 kB / 495 MB, free: 22.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2838, allocations: 239.1 kB / 495.2 MB, free: 22.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2838, allocations: 19.94 kB / 495.2 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.2838, allocations: 24.78 kB / 495.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.2843, allocations: 300.7 kB / 495.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2843, allocations: 0 / 495.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.2843, allocations: 10.62 kB / 495.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2843, allocations: 6.219 kB / 495.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.2848, allocations: 294.2 kB / 495.9 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2861, allocations: 0.8851 MB / 496.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.2866, allocations: 271.9 kB / 497 MB, free: 21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2867, allocations: 118.7 kB / 497.1 MB, free: 20.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.2868, allocations: 11.66 kB / 497.1 MB, free: 20.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2868, allocations: 36.81 kB / 497.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2868, allocations: 0 / 497.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001063/0.2879, allocations: 0.5252 MB / 497.7 MB, free: 20.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2879, allocations: 52.88 kB / 497.8 MB, free: 20.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.288, allocations: 162.8 kB / 497.9 MB, free: 20.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.288, allocations: 31.11 kB / 497.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.2881, allocations: 150.6 kB / 498.1 MB, free: 20.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2881, allocations: 94.14 kB / 498.2 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.2882, allocations: 63.16 kB / 498.2 MB, free: 20.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.2883, allocations: 322.5 kB / 498.6 MB, free: 19.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2884, allocations: 128.9 kB / 498.7 MB, free: 19.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2886, allocations: 132.4 kB / 498.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.289, allocations: 294.9 kB / 499.1 MB, free: 19.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.289, allocations: 0 / 499.1 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006086/0.2896, allocations: 402.6 kB / 499.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2896, allocations: 6.219 kB / 499.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2896, allocations: 0 / 499.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.2899, allocations: 53.78 kB / 499.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2901, allocations: 64.94 kB / 499.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2912, allocations: 1.545 MB / 0.4894 GB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.2914, allocations: 20.56 kB / 0.4894 GB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.2914, allocations: 15.98 kB / 0.4895 GB, free: 17.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.2915, allocations: 139.1 kB / 0.4896 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.2915, allocations: 18.91 kB / 0.4896 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.2921, allocations: 356 kB / 0.4899 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2921, allocations: 3.156 kB / 0.4899 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2921, allocations: 0 / 0.4899 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2921, allocations: 1.188 kB / 0.4899 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.2924, allocations: 363.2 kB / 0.4903 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2924, allocations: 0 / 0.4903 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.2926, allocations: 39.2 kB / 0.4903 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.2928, allocations: 58.72 kB / 0.4904 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2928, allocations: 9.188 kB / 0.4904 GB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/0.2937, allocations: 1.528 MB / 0.4919 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2937, allocations: 5.688 kB / 0.4919 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.2942, allocations: 404.9 kB / 0.4923 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2943, allocations: 98.56 kB / 0.4924 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.2943, allocations: 10.06 kB / 0.4924 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2944, allocations: 5.312 kB / 0.4924 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2945, allocations: 11.67 kB / 0.4924 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2945, allocations: 9.125 kB / 0.4924 GB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.211e-05/0.2946, allocations: 133.8 kB / 0.4925 GB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2946, allocations: 0 / 0.4925 GB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.295, allocations: 80.83 kB / 0.4926 GB, free: 14.73 MB / 366.1 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007616/0.2957, allocations: 0.9545 MB / 0.4935 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.2964, allocations: 407.4 kB / 0.4939 GB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.2964, allocations: 1.188 kB / 0.4939 GB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.2968, allocations: 243.6 kB / 0.4942 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.297, allocations: 17.98 kB / 0.4942 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.2997, allocations: 2.527 MB / 0.4967 GB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.2999, allocations: 0.7467 MB / 0.4974 GB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3, allocations: 30.91 kB / 0.4974 GB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.3001, allocations: 74.97 kB / 0.4975 GB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3001, allocations: 0 / 0.4975 GB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.3318, allocations: 4.94 MB / 0.5023 GB, free: 8.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/9.793, allocations: 5.062 kB / 0.5023 GB, free: 8.191 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.176399094983935] Failed to read output from testmodel.py, exit status != 0: 9.873714284971356 9.890983773 9.605708561 Calling exit ...