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.001333/0.001333, allocations: 114 kB / 19.74 MB, free: 1.996 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.001524/0.001524, allocations: 223.1 kB / 23.05 MB, free: 4.988 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.03925/0.03925, allocations: 6.137 MB / 319.4 MB, free: 12.96 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.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 47.92 kB / 444.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1101, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003479/0.1135, allocations: 1.76 MB / 0.4895 GB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1161, allocations: 1.532 MB / 0.491 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1163, allocations: 4 kB / 0.491 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.1168, allocations: 131.3 kB / 0.4912 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.1172, allocations: 83.39 kB / 0.4912 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.1193, allocations: 0.922 MB / 0.4921 GB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1198, allocations: 223 kB / 0.4924 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.12, allocations: 88.48 kB / 0.4924 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1202, allocations: 91.72 kB / 0.4925 GB, free: 9.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1205, allocations: 135.4 kB / 0.4927 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.1205, allocations: 20 kB / 0.4927 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.121, allocations: 223.8 kB / 0.4929 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.1211, allocations: 51.77 kB / 0.4929 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1212, allocations: 119.4 kB / 0.493 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.1219, allocations: 410.5 kB / 0.4934 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1219, allocations: 0 / 0.4934 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1219, allocations: 0 / 0.4934 GB, free: 8.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1219, allocations: 0 / 0.4934 GB, free: 8.484 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002308/0.1242, allocations: 0.6963 MB / 0.4941 GB, free: 7.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1243, allocations: 16.03 kB / 0.4941 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.1243, allocations: 54.73 kB / 0.4942 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.1244, allocations: 28.8 kB / 0.4942 GB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1247, allocations: 178.2 kB / 0.4944 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1247, allocations: 20.88 kB / 0.4944 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1247, allocations: 24.38 kB / 0.4944 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.1252, allocations: 300.5 kB / 0.4947 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1253, allocations: 3.938 kB / 0.4947 GB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.1253, allocations: 8 kB / 0.4947 GB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1253, allocations: 8 kB / 0.4947 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.1258, allocations: 305.9 kB / 0.495 GB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1274, allocations: 0.8371 MB / 0.4958 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.1279, allocations: 266.4 kB / 0.4961 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1281, allocations: 124.7 kB / 0.4962 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1282, allocations: 4 kB / 0.4962 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1283, allocations: 38.56 kB / 0.4963 GB, free: 5.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/0.1283, allocations: 0 / 0.4963 GB, free: 5.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001221/0.1295, allocations: 442.6 kB / 0.4967 GB, free: 5.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1295, allocations: 63.33 kB / 0.4967 GB, free: 4.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1297, allocations: 164.4 kB / 0.4969 GB, free: 4.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1297, allocations: 33.7 kB / 0.4969 GB, free: 4.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1299, allocations: 152.6 kB / 0.4971 GB, free: 4.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.1299, allocations: 91.22 kB / 0.4972 GB, free: 4.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1301, allocations: 65.64 kB / 0.4972 GB, free: 4.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1302, allocations: 326.8 kB / 0.4975 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1304, allocations: 120 kB / 0.4976 GB, free: 3.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1306, allocations: 128.8 kB / 0.4978 GB, free: 3.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.1311, allocations: 273.2 kB / 0.498 GB, free: 3.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1311, allocations: 7.938 kB / 0.498 GB, free: 3.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007502/0.1318, allocations: 402.1 kB / 0.4984 GB, free: 3.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1319, allocations: 4 kB / 0.4984 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1319, allocations: 4 kB / 0.4984 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.1322, allocations: 56.81 kB / 0.4985 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.1325, allocations: 63.91 kB / 0.4985 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1343, allocations: 1.447 MB / 0.5 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1344, allocations: 23.81 kB / 0.5 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1345, allocations: 12 kB / 0.5 GB, free: 1.445 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.0001627/0.1346, allocations: 133.9 kB / 0.5001 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1347, allocations: 19.84 kB / 0.5001 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.1355, allocations: 339.5 kB / 0.5005 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1355, allocations: 4 kB / 0.5005 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1355, allocations: 4 kB / 0.5005 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1355, allocations: 0 / 0.5005 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1366, allocations: 0.7221 MB / 0.5012 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1367, allocations: 0 / 0.5012 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1369, allocations: 43.92 kB / 0.5012 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.1371, allocations: 48.81 kB / 0.5013 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1371, allocations: 11.94 kB / 0.5013 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.1386, allocations: 1.44 MB / 0.5027 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1386, allocations: 0 / 0.5027 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.1393, allocations: 397.2 kB / 0.5031 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1393, allocations: 23.83 kB / 0.5031 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1394, allocations: 4 kB / 0.5031 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1395, allocations: 8 kB / 0.5031 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1396, allocations: 15.91 kB / 0.5031 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1396, allocations: 8 kB / 0.5031 GB, free: 14.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1397, allocations: 130.7 kB / 0.5032 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1397, allocations: 0 / 0.5032 GB, free: 13.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.1401, allocations: 83.89 kB / 0.5033 GB, free: 13.83 MB / 382.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.00104/0.1412, allocations: 0.9356 MB / 0.5042 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008481/0.142, allocations: 390.2 kB / 0.5046 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.142, allocations: 0 / 0.5046 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.1425, allocations: 250.9 kB / 0.5048 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1428, allocations: 12 kB / 0.5049 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.1464, allocations: 2.512 MB / 0.5073 GB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1468, allocations: 0.7359 MB / 0.508 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1469, allocations: 33.61 kB / 0.5081 GB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1471, allocations: 67.41 kB / 0.5081 GB, free: 8.742 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1471, allocations: 0 / 0.5081 GB, free: 8.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04609/0.1932, allocations: 5.157 MB / 0.5132 GB, free: 3.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.67, allocations: 8.062 kB / 0.5132 GB, free: 3.711 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.518587084952742] Failed to read output from testmodel.py, exit status != 0: 11.787283020094037 11.96616379 11.841433581 Calling exit ...