Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001522/0.001522, allocations: 109.2 kB / 20.52 MB, free: 1.43 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.001489/0.001489, allocations: 212 kB / 23.83 MB, free: 4.648 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.531/1.531, allocations: 230.6 MB / 257.6 MB, free: 8 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.04179/0.04179, allocations: 6.132 MB / 320.2 MB, free: 12.94 MB / 254.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.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 47.92 kB / 445.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 55.02 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002697/0.1063, allocations: 1.298 MB / 0.4898 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.108, allocations: 1.271 MB / 0.4911 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1081, allocations: 0 / 0.4911 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.1085, allocations: 107.5 kB / 0.4912 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1086, allocations: 59.61 kB / 0.4912 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1097, allocations: 0.5912 MB / 0.4918 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.11, allocations: 135.4 kB / 0.4919 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1101, allocations: 53.88 kB / 0.492 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.1102, allocations: 55.78 kB / 0.492 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1103, allocations: 63.7 kB / 0.4921 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1104, allocations: 16 kB / 0.4921 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1106, allocations: 139.8 kB / 0.4923 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1107, allocations: 27.91 kB / 0.4923 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.1108, allocations: 75.67 kB / 0.4924 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1111, allocations: 247.1 kB / 0.4926 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1111, allocations: 0 / 0.4926 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1111, allocations: 0 / 0.4926 GB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1112, allocations: 4 kB / 0.4926 GB, free: 10.12 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001342/0.1125, allocations: 0.4895 MB / 0.4931 GB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1125, allocations: 12.03 kB / 0.4931 GB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.1126, allocations: 4.188 kB / 0.4931 GB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.1126, allocations: 46.73 kB / 0.4931 GB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1127, allocations: 12.84 kB / 0.4931 GB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1129, allocations: 153.1 kB / 0.4933 GB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1129, allocations: 8.375 kB / 0.4933 GB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.1129, allocations: 16.38 kB / 0.4933 GB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1132, allocations: 157.9 kB / 0.4935 GB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1132, allocations: 0 / 0.4935 GB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1132, allocations: 8 kB / 0.4935 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1132, allocations: 0 / 0.4935 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.1134, allocations: 116 kB / 0.4936 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.1143, allocations: 495.3 kB / 0.4941 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.1151, allocations: 142.5 kB / 0.4942 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.1152, allocations: 44.84 kB / 0.4942 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.1153, allocations: 4.188 kB / 0.4942 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1153, allocations: 38.48 kB / 0.4943 GB, free: 8.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1153, allocations: 4 kB / 0.4943 GB, free: 8.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001147/0.1164, allocations: 270.2 kB / 0.4945 GB, free: 7.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1165, allocations: 59.34 kB / 0.4946 GB, free: 7.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1166, allocations: 129.8 kB / 0.4947 GB, free: 7.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1166, allocations: 29.7 kB / 0.4947 GB, free: 7.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1167, allocations: 128.2 kB / 0.4949 GB, free: 7.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1168, allocations: 31.73 kB / 0.4949 GB, free: 7.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.1168, allocations: 37.64 kB / 0.4949 GB, free: 7.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.117, allocations: 318.8 kB / 0.4952 GB, free: 7.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.1171, allocations: 35.98 kB / 0.4953 GB, free: 7.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.1172, allocations: 61.69 kB / 0.4953 GB, free: 7.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1173, allocations: 105.7 kB / 0.4954 GB, free: 7.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1173, allocations: 0 / 0.4954 GB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005349/0.1179, allocations: 210.2 kB / 0.4956 GB, free: 6.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1179, allocations: 4 kB / 0.4956 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1179, allocations: 0 / 0.4956 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.1183, allocations: 80.8 kB / 0.4957 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.1184, allocations: 12 kB / 0.4957 GB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.1205, allocations: 1.561 MB / 0.4972 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.1206, allocations: 3.953 kB / 0.4973 GB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1206, allocations: 8.031 kB / 0.4973 GB, free: 5.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1207, allocations: 125.9 kB / 0.4974 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.1208, allocations: 11.89 kB / 0.4974 GB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.1213, allocations: 202.6 kB / 0.4976 GB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1213, allocations: 0 / 0.4976 GB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1213, allocations: 4 kB / 0.4976 GB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1213, allocations: 4 kB / 0.4976 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.1216, allocations: 192.6 kB / 0.4978 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1216, allocations: 144 / 0.4978 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1217, allocations: 15.92 kB / 0.4978 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.122, allocations: 76.77 kB / 0.4979 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.122, allocations: 4 kB / 0.4979 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.1238, allocations: 1.537 MB / 0.4994 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1238, allocations: 3.984 kB / 0.4994 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.1244, allocations: 284.2 kB / 0.4996 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.1244, allocations: 11.88 kB / 0.4997 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1244, allocations: 4.375 kB / 0.4997 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1245, allocations: 4 kB / 0.4997 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1245, allocations: 7.984 kB / 0.4997 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1246, allocations: 4 kB / 0.4997 GB, free: 2.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.661e-05/0.1246, allocations: 103.1 kB / 0.4998 GB, free: 2.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1246, allocations: 0 / 0.4998 GB, free: 2.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.125, allocations: 51.89 kB / 0.4998 GB, free: 2.184 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009109/0.1259, allocations: 0.8305 MB / 0.5006 GB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.1265, allocations: 246.5 kB / 0.5009 GB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1265, allocations: 0 / 0.5009 GB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.127, allocations: 198.5 kB / 0.5011 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1272, allocations: 15.09 kB / 0.5011 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.1297, allocations: 1.765 MB / 0.5028 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1301, allocations: 0.7119 MB / 0.5035 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.1301, allocations: 8.656 kB / 0.5035 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.1302, allocations: 39.42 kB / 0.5035 GB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1302, allocations: 0 / 0.5035 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.155, allocations: 3.751 MB / 0.5072 GB, free: 10.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.38, allocations: 18.2 kB / 0.5072 GB, free: 10.58 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.38637279602699] Failed to read output from testmodel.py, exit status != 0: 12.555380912963301 12.804112858 12.689188982 Calling exit ...