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.001288/0.001288, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001424/0.001424, allocations: 216.4 kB / 23.82 MB, free: 4.48 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.03854/0.03854, allocations: 6.148 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 51.92 kB / 445.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1135, allocations: 55.03 MB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002301/0.1158, allocations: 0.8177 MB / 0.4893 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1177, allocations: 1.306 MB / 0.4906 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.1178, allocations: 0 / 0.4906 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1181, allocations: 63.7 kB / 0.4906 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1183, allocations: 39.7 kB / 0.4907 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.1191, allocations: 302.8 kB / 0.491 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1192, allocations: 71.66 kB / 0.491 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1193, allocations: 20.27 kB / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.1194, allocations: 35.86 kB / 0.4911 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1196, allocations: 35.84 kB / 0.4911 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1196, allocations: 8 kB / 0.4911 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.1199, allocations: 111.9 kB / 0.4912 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1199, allocations: 15.92 kB / 0.4912 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.1199, allocations: 35.8 kB / 0.4913 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1203, allocations: 151.5 kB / 0.4914 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1203, allocations: 0 / 0.4914 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1203, allocations: 0 / 0.4914 GB, free: 10.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1203, allocations: 0 / 0.4914 GB, free: 10.97 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.00104/0.1213, allocations: 381.6 kB / 0.4918 GB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1214, allocations: 15.97 kB / 0.4918 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.186e-05/0.1214, allocations: 8.188 kB / 0.4918 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1214, allocations: 42.73 kB / 0.4919 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1215, allocations: 8.891 kB / 0.4919 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1217, allocations: 114.5 kB / 0.492 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1217, allocations: 4.375 kB / 0.492 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1217, allocations: 4.375 kB / 0.492 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1219, allocations: 155.7 kB / 0.4921 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1219, allocations: 0 / 0.4921 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1219, allocations: 4 kB / 0.4921 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.122, allocations: 4 kB / 0.4921 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1221, allocations: 67.97 kB / 0.4922 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.1227, allocations: 339.8 kB / 0.4925 GB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.1231, allocations: 106.6 kB / 0.4926 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.1232, allocations: 32.84 kB / 0.4927 GB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1232, allocations: 4 kB / 0.4927 GB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1232, allocations: 30.56 kB / 0.4927 GB, free: 9.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1232, allocations: 0 / 0.4927 GB, free: 9.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005999/0.1238, allocations: 166.8 kB / 0.4928 GB, free: 9.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1239, allocations: 55.34 kB / 0.4929 GB, free: 9.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.124, allocations: 137.8 kB / 0.493 GB, free: 9.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1241, allocations: 25.7 kB / 0.4931 GB, free: 9.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1241, allocations: 104 kB / 0.4932 GB, free: 9.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1242, allocations: 23.8 kB / 0.4932 GB, free: 8.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.1242, allocations: 29.7 kB / 0.4932 GB, free: 8.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1244, allocations: 314.8 kB / 0.4935 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.1244, allocations: 35.98 kB / 0.4935 GB, free: 8.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.1245, allocations: 31.98 kB / 0.4936 GB, free: 8.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1246, allocations: 84.92 kB / 0.4937 GB, free: 8.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1246, allocations: 0 / 0.4937 GB, free: 8.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003039/0.1249, allocations: 142.4 kB / 0.4938 GB, free: 8.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1249, allocations: 7.938 kB / 0.4938 GB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1249, allocations: 3.938 kB / 0.4938 GB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.1252, allocations: 36.81 kB / 0.4938 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.1253, allocations: 19.98 kB / 0.4939 GB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.1267, allocations: 1.338 MB / 0.4952 GB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.1268, allocations: 7.953 kB / 0.4952 GB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1268, allocations: 7.969 kB / 0.4952 GB, free: 6.793 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 0.0001195/0.1269, allocations: 113.8 kB / 0.4953 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.1269, allocations: 7.953 kB / 0.4953 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.1273, allocations: 135 kB / 0.4954 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1273, allocations: 0 / 0.4954 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.1273, allocations: 7.938 kB / 0.4954 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1273, allocations: 0 / 0.4954 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1275, allocations: 160.7 kB / 0.4956 GB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1275, allocations: 7.984 kB / 0.4956 GB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.1276, allocations: 4 kB / 0.4956 GB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.1277, allocations: 32.83 kB / 0.4956 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1277, allocations: 7.938 kB / 0.4956 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.129, allocations: 1.326 MB / 0.4969 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.129, allocations: 0 / 0.4969 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1293, allocations: 212.2 kB / 0.4971 GB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.1293, allocations: 11.95 kB / 0.4971 GB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1293, allocations: 3.984 kB / 0.4971 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1294, allocations: 12.16 kB / 0.4972 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.1295, allocations: 3.984 kB / 0.4972 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1295, allocations: 4 kB / 0.4972 GB, free: 4.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1296, allocations: 107.3 kB / 0.4973 GB, free: 4.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1296, allocations: 0 / 0.4973 GB, free: 4.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1299, allocations: 28.09 kB / 0.4973 GB, free: 4.43 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.0006818/0.1306, allocations: 0.7617 MB / 0.498 GB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.131, allocations: 194.6 kB / 0.4982 GB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.131, allocations: 0 / 0.4982 GB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.1312, allocations: 150.7 kB / 0.4984 GB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1316, allocations: 11.92 kB / 0.4984 GB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1337, allocations: 1.607 MB / 0.4999 GB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.738e-05/0.1337, allocations: 71.33 kB / 0.5 GB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.191e-05/0.1338, allocations: 16.64 kB / 0.5 GB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.1338, allocations: 19.44 kB / 0.5 GB, free: 1.449 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1338, allocations: 0 / 0.5 GB, free: 1.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1601, allocations: 3.106 MB / 0.5031 GB, free: 14.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.27, allocations: 10.05 kB / 0.5031 GB, free: 14.49 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: 15.012682494940236] Failed to read output from testmodel.py, exit status != 0: 12.436488994047977 12.452810924 12.329272675 Calling exit ...