Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.001249/0.001249, allocations: 108.8 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.00124/0.00124, allocations: 196.5 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.403/1.403, 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.04984/0.04984, allocations: 8.23 MB / 311.6 MB, free: 2.117 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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.89 kB / 434 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2616, allocations: 54.36 MB / 488.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005148/0.2668, allocations: 6.139 MB / 494.5 MB, free: 22.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.2704, allocations: 2.463 MB / 496.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.2709, allocations: 19.16 kB / 496.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.2716, allocations: 334.4 kB / 497.3 MB, free: 20.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.2728, allocations: 0.6406 MB / 497.9 MB, free: 19.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.2751, allocations: 1.503 MB / 499.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.2766, allocations: 1.456 MB / 0.4891 GB, free: 17.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.277, allocations: 353.6 kB / 0.4895 GB, free: 17.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006209/0.2776, allocations: 0.5993 MB / 0.4901 GB, free: 17.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.2784, allocations: 0.744 MB / 0.4908 GB, free: 16.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.2786, allocations: 150.4 kB / 0.4909 GB, free: 16.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.2793, allocations: 388.2 kB / 0.4913 GB, free: 16.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.2795, allocations: 306.8 kB / 0.4916 GB, free: 16.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.28, allocations: 0.6996 MB / 0.4923 GB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.2817, allocations: 1.814 MB / 0.494 GB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2817, allocations: 0 / 0.494 GB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2817, allocations: 0 / 0.494 GB, free: 14.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.2817, allocations: 1.125 kB / 0.494 GB, free: 14.4 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01229/0.294, allocations: 3.277 MB / 0.4972 GB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.294, allocations: 13.7 kB / 0.4973 GB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.2942, allocations: 149.6 kB / 0.4974 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.2945, allocations: 146.9 kB / 0.4975 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2955, allocations: 0.771 MB / 0.4983 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.2956, allocations: 74.44 kB / 0.4984 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2957, allocations: 107.4 kB / 0.4985 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.2978, allocations: 1.515 MB / 0.4999 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2978, allocations: 5.312 kB / 0.5 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2979, allocations: 41.62 kB / 0.5 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.2979, allocations: 24.56 kB / 0.5 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.2999, allocations: 1.47 MB / 0.5015 GB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.3061, allocations: 5.999 MB / 0.5073 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.3084, allocations: 3.58 MB / 0.5108 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3095, allocations: 0.9496 MB / 0.5117 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.3097, allocations: 45.23 kB / 0.5118 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/0.3097, allocations: 56.09 kB / 0.5118 GB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.176e-06/0.3097, allocations: 0 / 0.5118 GB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03208/0.3418, allocations: 8.189 MB / 0.5198 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.3419, allocations: 120.1 kB / 0.5199 GB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.343, allocations: 0.6722 MB / 0.5206 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.3432, allocations: 61.7 kB / 0.5207 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.3435, allocations: 346.8 kB / 0.521 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/0.344, allocations: 0.5266 MB / 0.5215 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.3445, allocations: 279.6 kB / 0.5218 GB, free: 5.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3447, allocations: 353.9 kB / 0.5221 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.3462, allocations: 0.9606 MB / 0.523 GB, free: 4.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.3479, allocations: 1.09 MB / 0.5241 GB, free: 3.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.3512, allocations: 2.162 MB / 0.5262 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3512, allocations: 4 kB / 0.5262 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01052/0.3617, allocations: 4.034 MB / 0.5302 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3618, allocations: 8 kB / 0.5302 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3618, allocations: 0 / 0.5302 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.3735, allocations: 4.204 MB / 0.5343 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3745, allocations: 219.7 kB / 0.5345 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02636/0.4009, allocations: 13.15 MB / 0.5473 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4024, allocations: 146.9 kB / 0.5475 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.4027, allocations: 51.98 kB / 0.5475 GB, free: 10.93 MB / 414.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 (135): * Single equations (assignments): 134 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0006492/0.4033, allocations: 309.6 kB / 0.5478 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.4036, allocations: 111.3 kB / 0.5479 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.414, allocations: 3.984 MB / 0.5518 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4141, allocations: 16 kB / 0.5518 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4141, allocations: 8 kB / 0.5518 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4141, allocations: 7.969 kB / 0.5518 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.4268, allocations: 5.902 MB / 0.5576 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4268, allocations: 0 / 0.5576 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.4274, allocations: 171.8 kB / 0.5578 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/0.4379, allocations: 2.895 MB / 0.5606 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.438, allocations: 28 kB / 0.5606 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02483/0.4629, allocations: 12.93 MB / 0.5733 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4629, allocations: 0 / 0.5733 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.4735, allocations: 3.86 MB / 0.577 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.4739, allocations: 212 kB / 0.5772 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.4742, allocations: 24 kB / 0.5772 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.4753, allocations: 99.92 kB / 0.5773 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.4758, allocations: 126.4 kB / 0.5775 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.4759, allocations: 44 kB / 0.5775 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007348/0.4766, allocations: 463 kB / 0.5779 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4766, allocations: 0 / 0.5779 GB, free: 11.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001643/0.4783, allocations: 0.5622 MB / 0.5785 GB, free: 10.91 MB / 446.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 (105): * Single equations (assignments): 104 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/0.4889, allocations: 4.455 MB / 0.5828 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007528/0.4964, allocations: 3.263 MB / 0.586 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4964, allocations: 0.6562 kB / 0.586 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005481/0.5019, allocations: 2.136 MB / 0.5881 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5029, allocations: 146.8 kB / 0.5883 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/0.5346, allocations: 14.94 MB / 0.6028 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/0.5355, allocations: 1.099 MB / 0.6039 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005722/0.536, allocations: 155.7 kB / 0.6041 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/0.5366, allocations: 415.3 kB / 0.6045 GB, free: 112 kB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5366, allocations: 0 / 0.6045 GB, free: 112 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/0.813, allocations: 50.84 MB / 0.6541 GB, free: 79.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.26, allocations: 21.97 kB / 0.6541 GB, free: 79.62 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.925276170950383] Failed to read output from testmodel.py, exit status != 0: 14.370266727171838 14.379773681 14.0959549 Calling exit ...