Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001816/0.001816, allocations: 109.2 kB / 17.12 MB, free: 5.922 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.00204/0.00204, allocations: 192.6 kB / 20.07 MB, free: 2.988 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.383/1.383, allocations: 222.9 MB / 245.8 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 179] 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.1623/0.1623, allocations: 8.077 MB / 306 MB, free: 2.652 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.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.83 kB / 422.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2397, allocations: 51.53 MB / 474.2 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003113/0.2429, allocations: 2.471 MB / 476.7 MB, free: 19.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.2458, allocations: 2.553 MB / 479.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.2459, allocations: 5.625 kB / 479.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.2465, allocations: 164.4 kB / 479.4 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.2472, allocations: 294.5 kB / 479.7 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.2492, allocations: 1.287 MB / 481 MB, free: 16.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.2497, allocations: 408 kB / 481.4 MB, free: 16.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2499, allocations: 125.3 kB / 481.5 MB, free: 16.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.2501, allocations: 175.3 kB / 481.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2503, allocations: 212.1 kB / 481.9 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.2504, allocations: 30.28 kB / 481.9 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.251, allocations: 345.5 kB / 482.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.2511, allocations: 86.95 kB / 482.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2512, allocations: 187.7 kB / 482.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.2519, allocations: 0.6345 MB / 483.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2519, allocations: 0 / 483.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.252, allocations: 0 / 483.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.252, allocations: 4 kB / 483.2 MB, free: 15.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003868/0.2558, allocations: 1.237 MB / 484.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2559, allocations: 13.7 kB / 484.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.256, allocations: 64.81 kB / 484.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2561, allocations: 47.53 kB / 484.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2564, allocations: 332 kB / 484.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.2565, allocations: 52.73 kB / 484.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2565, allocations: 40.56 kB / 484.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.2572, allocations: 442.1 kB / 485.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2572, allocations: 0 / 485.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.2572, allocations: 11.56 kB / 485.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2572, allocations: 6.062 kB / 485.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.2578, allocations: 381.3 kB / 485.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.2596, allocations: 1.744 MB / 487.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.2604, allocations: 491.4 kB / 488 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.2607, allocations: 253.3 kB / 488.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.491e-05/0.2608, allocations: 22.84 kB / 488.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.2613, allocations: 313.4 kB / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.2613, allocations: 0 / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003739/0.265, allocations: 1.356 MB / 489.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2651, allocations: 111 kB / 490 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2654, allocations: 285.1 kB / 490.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2654, allocations: 37.17 kB / 490.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.2655, allocations: 170.4 kB / 490.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.2656, allocations: 152 kB / 490.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.2657, allocations: 96.92 kB / 490.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.2658, allocations: 342 kB / 491.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.2661, allocations: 257.3 kB / 491.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.2665, allocations: 309.1 kB / 491.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.2672, allocations: 0.5586 MB / 492.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2672, allocations: 4.031 kB / 492.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001683/0.2689, allocations: 0.915 MB / 493.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2689, allocations: 13.72 kB / 493.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.269, allocations: 7.875 kB / 493.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.2714, allocations: 0.6087 MB / 493.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2716, allocations: 71.31 kB / 493.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.273, allocations: 1.07 MB / 494.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2733, allocations: 51.73 kB / 494.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.2734, allocations: 19.92 kB / 495 MB, free: 7.098 MB / 350.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.2735, allocations: 163.6 kB / 495.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.2736, allocations: 32.94 kB / 495.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2747, allocations: 0.7882 MB / 495.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2747, allocations: 8 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2747, allocations: 0 / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2747, allocations: 0 / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.2751, allocations: 0.5603 MB / 496.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2751, allocations: 0 / 496.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2752, allocations: 55.91 kB / 496.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.2774, allocations: 0.5809 MB / 497.1 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2774, allocations: 12 kB / 497.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.2786, allocations: 1.075 MB / 498.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2787, allocations: 0 / 498.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.2796, allocations: 0.7368 MB / 499 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.2796, allocations: 120.8 kB / 499.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.2797, allocations: 7.938 kB / 499.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.28, allocations: 23.98 kB / 499.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.28, allocations: 32.39 kB / 499.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.2801, allocations: 12 kB / 499.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.2802, allocations: 202 kB / 499.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2803, allocations: 0 / 499.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00037/0.2806, allocations: 139.8 kB / 499.5 MB, free: 2.586 MB / 350.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.2829, allocations: 1.604 MB / 0.4893 GB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2844, allocations: 0.724 MB / 0.4901 GB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2844, allocations: 0 / 0.4901 GB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2854, allocations: 406.4 kB / 0.4904 GB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2858, allocations: 44.88 kB / 0.4905 GB, free: 15.95 MB / 366.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/0.2929, allocations: 4.372 MB / 0.4948 GB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.2933, allocations: 0.7925 MB / 0.4955 GB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.2935, allocations: 58.91 kB / 0.4956 GB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.2938, allocations: 123.4 kB / 0.4957 GB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2938, allocations: 0 / 0.4957 GB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4147/0.7085, allocations: 11.75 MB / 0.5072 GB, free: 14.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.55, allocations: 8 kB / 0.5072 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableLoad_res.csv --start-time 0 --stop-time 3.15324e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12613 PowerSysPro_PowerSysPro_Examples_VariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.631638508988544] Failed to read output from testmodel.py, exit status != 0: 13.631307151983492 13.644556001 13.390156211 Calling exit ...