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.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.001675/0.001675, allocations: 116.7 kB / 17.88 MB, free: 5.051 MB / 14.72 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.002005/0.002005, allocations: 212.5 kB / 20.84 MB, free: 2.105 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03697/0.03697, allocations: 6.142 MB / 316.4 MB, free: 1.129 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 54.25 kB / 439.9 MB, free: 40.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08803, allocations: 54.98 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002486/0.09052, allocations: 1.74 MB / 496.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.09194, allocations: 1.52 MB / 498.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.09202, allocations: 12 kB / 498.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.09231, allocations: 123.3 kB / 498.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.09254, allocations: 95.38 kB / 498.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.09376, allocations: 0.9178 MB / 499.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.09401, allocations: 231 kB / 499.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.09417, allocations: 84.14 kB / 499.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.09424, allocations: 99.64 kB / 499.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.09439, allocations: 131.4 kB / 499.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.09442, allocations: 20 kB / 499.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.09473, allocations: 215.8 kB / 0.4884 GB, free: 5.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.09476, allocations: 47.84 kB / 0.4884 GB, free: 5.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/0.09483, allocations: 123.3 kB / 0.4885 GB, free: 5.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.09522, allocations: 410.6 kB / 0.4889 GB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09523, allocations: 4 kB / 0.4889 GB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09523, allocations: 0 / 0.4889 GB, free: 4.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.09523, allocations: 0 / 0.4889 GB, free: 4.723 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002022/0.09726, allocations: 0.7639 MB / 0.4897 GB, free: 3.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.09729, allocations: 11.97 kB / 0.4897 GB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/0.09732, allocations: 12.75 kB / 0.4897 GB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.09736, allocations: 58.72 kB / 0.4898 GB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.09742, allocations: 28.8 kB / 0.4898 GB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.09759, allocations: 232 kB / 0.49 GB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.09761, allocations: 20.94 kB / 0.49 GB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.09764, allocations: 24.38 kB / 0.49 GB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.09803, allocations: 305.1 kB / 0.4903 GB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.09804, allocations: 3.938 kB / 0.4903 GB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.09806, allocations: 8 kB / 0.4903 GB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.09807, allocations: 11.98 kB / 0.4904 GB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.09842, allocations: 294.1 kB / 0.4906 GB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.09954, allocations: 0.8735 MB / 0.4915 GB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.09997, allocations: 412.7 kB / 0.4919 GB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1001, allocations: 118.7 kB / 0.492 GB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.1002, allocations: 97.08 kB / 0.4921 GB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.1003, allocations: 30.56 kB / 0.4921 GB, free: 1.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.1003, allocations: 0 / 0.4921 GB, free: 1.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001075/0.1013, allocations: 0.5004 MB / 0.4926 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1014, allocations: 59.34 kB / 0.4927 GB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1015, allocations: 164.8 kB / 0.4928 GB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1015, allocations: 33.7 kB / 0.4929 GB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1015, allocations: 140.7 kB / 0.493 GB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.1016, allocations: 95.22 kB / 0.4931 GB, free: 188 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1017, allocations: 61.64 kB / 0.4931 GB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1018, allocations: 330.8 kB / 0.4935 GB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.102, allocations: 120 kB / 0.4936 GB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1022, allocations: 131.8 kB / 0.4937 GB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.1027, allocations: 280.6 kB / 0.494 GB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1027, allocations: 3.938 kB / 0.494 GB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007438/0.1034, allocations: 398.6 kB / 0.4943 GB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1034, allocations: 11.98 kB / 0.4944 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1034, allocations: 0 / 0.4944 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.1037, allocations: 44.83 kB / 0.4944 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1041, allocations: 67.89 kB / 0.4945 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.1057, allocations: 1.547 MB / 0.496 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.1059, allocations: 23.78 kB / 0.496 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.106, allocations: 11.98 kB / 0.496 GB, free: 13.02 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 0.0001469/0.1061, allocations: 138.3 kB / 0.4961 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1062, allocations: 19.84 kB / 0.4962 GB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.1069, allocations: 335.8 kB / 0.4965 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1069, allocations: 4 kB / 0.4965 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1069, allocations: 0 / 0.4965 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1069, allocations: 3.984 kB / 0.4965 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1081, allocations: 0.7493 MB / 0.4972 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1081, allocations: 0 / 0.4972 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.1083, allocations: 47.84 kB / 0.4973 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.1085, allocations: 56.81 kB / 0.4973 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.1086, allocations: 4 kB / 0.4973 GB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.1102, allocations: 1.543 MB / 0.4988 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1102, allocations: 0 / 0.4988 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.1108, allocations: 396.9 kB / 0.4992 GB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.1109, allocations: 96.94 kB / 0.4993 GB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1109, allocations: 8.062 kB / 0.4993 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1111, allocations: 8 kB / 0.4993 GB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1111, allocations: 11.98 kB / 0.4993 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1111, allocations: 8 kB / 0.4993 GB, free: 9.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1112, allocations: 130.3 kB / 0.4995 GB, free: 9.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1112, allocations: 0 / 0.4995 GB, free: 9.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.1116, allocations: 87.88 kB / 0.4995 GB, free: 9.137 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.001059/0.1127, allocations: 0.9402 MB / 0.5005 GB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.1135, allocations: 390.4 kB / 0.5008 GB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1135, allocations: 3.938 kB / 0.5008 GB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.114, allocations: 250.4 kB / 0.5011 GB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1143, allocations: 15.94 kB / 0.5011 GB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.1179, allocations: 2.5 MB / 0.5035 GB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1183, allocations: 0.7348 MB / 0.5043 GB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1184, allocations: 41.5 kB / 0.5043 GB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1185, allocations: 63.42 kB / 0.5044 GB, free: 4.043 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1185, allocations: 0 / 0.5044 GB, free: 4.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.144, allocations: 4.972 MB / 0.5092 GB, free: 15.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.71, allocations: 8.656 kB / 0.5092 GB, free: 15.18 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.530452756967861] Failed to read output from testmodel.py, exit status != 0: 10.851771948975511 10.874609308 10.775445853 Calling exit ...