Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.00166/0.00166, allocations: 96.36 kB / 19.73 MB, free: 1.898 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.002169/0.002169, allocations: 219.3 kB / 23.03 MB, free: 5.004 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.0411/0.0411, allocations: 6.139 MB / 319.4 MB, free: 12.74 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.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.92 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 55.02 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002075/0.1108, allocations: 0.8215 MB / 0.4885 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1126, allocations: 1.306 MB / 0.4898 GB, free: 11.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.1126, allocations: 4 kB / 0.4898 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1129, allocations: 51.72 kB / 0.4899 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.113, allocations: 51.69 kB / 0.4899 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.1137, allocations: 298.8 kB / 0.4902 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1139, allocations: 75.66 kB / 0.4903 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.114, allocations: 16.27 kB / 0.4903 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.114, allocations: 35.86 kB / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1141, allocations: 39.83 kB / 0.4904 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1142, allocations: 4 kB / 0.4904 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1144, allocations: 111.9 kB / 0.4905 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.1144, allocations: 11.94 kB / 0.4905 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.1144, allocations: 27.86 kB / 0.4905 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.1147, allocations: 159.5 kB / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1147, allocations: 0 / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1147, allocations: 0 / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1147, allocations: 4 kB / 0.4907 GB, free: 10.95 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009073/0.1156, allocations: 372.5 kB / 0.491 GB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1157, allocations: 19.84 kB / 0.491 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1157, allocations: 42.75 kB / 0.4911 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1157, allocations: 8.891 kB / 0.4911 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1159, allocations: 118.5 kB / 0.4912 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1159, allocations: 8.375 kB / 0.4912 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1159, allocations: 4.375 kB / 0.4912 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1161, allocations: 145.6 kB / 0.4914 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1161, allocations: 7.875 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1161, allocations: 4 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1162, allocations: 4 kB / 0.4914 GB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1163, allocations: 71.97 kB / 0.4914 GB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1169, allocations: 339.8 kB / 0.4918 GB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.1172, allocations: 106.6 kB / 0.4919 GB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1173, allocations: 28.86 kB / 0.4919 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.1173, allocations: 7.984 kB / 0.4919 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1173, allocations: 30.56 kB / 0.4919 GB, free: 9.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.1173, allocations: 3.984 kB / 0.4919 GB, free: 9.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006007/0.1179, allocations: 166.5 kB / 0.4921 GB, free: 9.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.118, allocations: 55.34 kB / 0.4921 GB, free: 9.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1182, allocations: 137.8 kB / 0.4923 GB, free: 9.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1182, allocations: 25.7 kB / 0.4923 GB, free: 9.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1183, allocations: 104 kB / 0.4924 GB, free: 8.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1183, allocations: 23.8 kB / 0.4924 GB, free: 8.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.1184, allocations: 29.7 kB / 0.4924 GB, free: 8.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1185, allocations: 310.8 kB / 0.4927 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.1186, allocations: 35.98 kB / 0.4928 GB, free: 8.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.1186, allocations: 31.98 kB / 0.4928 GB, free: 8.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1187, allocations: 84.91 kB / 0.4929 GB, free: 8.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1187, allocations: 4 kB / 0.4929 GB, free: 8.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002872/0.119, allocations: 142.4 kB / 0.493 GB, free: 8.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.119, allocations: 7.938 kB / 0.493 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1191, allocations: 0 / 0.493 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.1193, allocations: 36.83 kB / 0.4931 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.1194, allocations: 19.92 kB / 0.4931 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.1207, allocations: 1.33 MB / 0.4944 GB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.1208, allocations: 7.953 kB / 0.4944 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1208, allocations: 4.031 kB / 0.4944 GB, free: 6.789 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 (9): * Single equations (assignments): 8 * 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.867e-05/0.1209, allocations: 117.8 kB / 0.4945 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1209, allocations: 7.953 kB / 0.4945 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.1212, allocations: 138.9 kB / 0.4947 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1212, allocations: 0 / 0.4947 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1212, allocations: 7.938 kB / 0.4947 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1212, allocations: 0 / 0.4947 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1214, allocations: 164.7 kB / 0.4948 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1214, allocations: 0 / 0.4948 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1215, allocations: 4 kB / 0.4948 GB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.1216, allocations: 32.83 kB / 0.4949 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1216, allocations: 4 kB / 0.4949 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.1229, allocations: 1.33 MB / 0.4962 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1229, allocations: 0 / 0.4962 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1232, allocations: 216.2 kB / 0.4964 GB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.1232, allocations: 7.953 kB / 0.4964 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1232, allocations: 0 / 0.4964 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1233, allocations: 16.14 kB / 0.4964 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.1233, allocations: 0 / 0.4964 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1234, allocations: 7.984 kB / 0.4964 GB, free: 4.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1235, allocations: 110.9 kB / 0.4965 GB, free: 4.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1235, allocations: 0 / 0.4965 GB, free: 4.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1238, allocations: 31.94 kB / 0.4965 GB, free: 4.418 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 (6): * Single equations (assignments): 5 * 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.0006481/0.1244, allocations: 0.7522 MB / 0.4973 GB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.1248, allocations: 195.1 kB / 0.4974 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1248, allocations: 0 / 0.4974 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.1251, allocations: 154.6 kB / 0.4976 GB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1254, allocations: 15.94 kB / 0.4976 GB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1275, allocations: 1.603 MB / 0.4992 GB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.1275, allocations: 79.27 kB / 0.4993 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.1276, allocations: 8.656 kB / 0.4993 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1277, allocations: 23.42 kB / 0.4993 GB, free: 1.434 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1277, allocations: 0 / 0.4993 GB, free: 1.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.1684, allocations: 3.42 MB / 0.5026 GB, free: 14.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.73, allocations: 2.578 kB / 0.5026 GB, free: 14.15 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.344404959119856] Failed to read output from testmodel.py, exit status != 0: 11.844633040949702 11.874762599 11.754796825 Calling exit ...