Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002492/0.002492, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1878/0.1878, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008714/0.3355, allocations: 7.043 MB / 0.5488 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.3424, allocations: 4.114 MB / 0.5528 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.343, allocations: 17.22 kB / 0.5529 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.3458, allocations: 1.02 MB / 0.5539 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.349, allocations: 1.21 MB / 0.555 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.35, allocations: 326.9 kB / 0.5554 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.3519, allocations: 1.402 MB / 0.5567 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009758/0.3529, allocations: 0.51 MB / 0.5572 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3541, allocations: 0.642 MB / 0.5578 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3552, allocations: 0.7086 MB / 0.5585 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3553, allocations: 67.94 kB / 0.5586 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3578, allocations: 1.118 MB / 0.5597 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.3583, allocations: 482.7 kB / 0.5602 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.3588, allocations: 378.3 kB / 0.5605 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.3613, allocations: 1.464 MB / 0.5619 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.3613, allocations: 0 / 0.5619 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3613, allocations: 0 / 0.5619 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.3613, allocations: 4 kB / 0.5619 GB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002659/0.364, allocations: 1.082 MB / 0.563 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.3641, allocations: 11.98 kB / 0.563 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.3642, allocations: 127.2 kB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.3674, allocations: 391.9 kB / 0.5635 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3684, allocations: 433.7 kB / 0.5639 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.3685, allocations: 54.36 kB / 0.564 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3686, allocations: 72.36 kB / 0.564 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3707, allocations: 1.184 MB / 0.5652 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3707, allocations: 0 / 0.5652 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.3708, allocations: 31.98 kB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3709, allocations: 73.94 kB / 0.5653 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.3727, allocations: 1.23 MB / 0.5665 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005671/0.3784, allocations: 3.232 MB / 0.5697 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.38, allocations: 0.9835 MB / 0.5706 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.3809, allocations: 0.5861 MB / 0.5712 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.381, allocations: 16.98 kB / 0.5712 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.381, allocations: 43.56 kB / 0.5712 GB, free: 6.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.065e-06/0.381, allocations: 4 kB / 0.5713 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006696/0.3877, allocations: 3.006 MB / 0.5742 GB, free: 2.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.3878, allocations: 90.05 kB / 0.5743 GB, free: 2.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.3882, allocations: 365.6 kB / 0.5746 GB, free: 2.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.3883, allocations: 41.7 kB / 0.5747 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.3885, allocations: 324.9 kB / 0.575 GB, free: 2.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.3888, allocations: 329.1 kB / 0.5753 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.389, allocations: 154.6 kB / 0.5754 GB, free: 1.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3892, allocations: 370.8 kB / 0.5758 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.3899, allocations: 481.7 kB / 0.5762 GB, free: 0.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/0.3907, allocations: 0.5657 MB / 0.5768 GB, free: 244 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.3924, allocations: 1.105 MB / 0.5779 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3924, allocations: 4 kB / 0.5779 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002599/0.395, allocations: 1.47 MB / 0.5793 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.395, allocations: 4 kB / 0.5793 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.395, allocations: 4 kB / 0.5793 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.396, allocations: 332.8 kB / 0.5796 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.3967, allocations: 183.7 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.4024, allocations: 3.915 MB / 0.5836 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.403, allocations: 47.94 kB / 0.5837 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.403, allocations: 39.98 kB / 0.5837 GB, free: 8.996 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004522/0.4035, allocations: 297.6 kB / 0.584 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4036, allocations: 63.61 kB / 0.5841 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.4065, allocations: 1.555 MB / 0.5856 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4065, allocations: 12 kB / 0.5856 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4065, allocations: 4 kB / 0.5856 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4065, allocations: 3.984 kB / 0.5856 GB, free: 7.043 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.4117, allocations: 2.782 MB / 0.5883 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.4117, allocations: 4 kB / 0.5883 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.4124, allocations: 163.8 kB / 0.5885 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/0.4132, allocations: 289.2 kB / 0.5888 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.4132, allocations: 27.98 kB / 0.5888 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.4185, allocations: 3.703 MB / 0.5924 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.4185, allocations: 7.938 kB / 0.5924 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.4212, allocations: 1.583 MB / 0.594 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.4214, allocations: 71.56 kB / 0.594 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.4215, allocations: 31.94 kB / 0.5941 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.4219, allocations: 39.95 kB / 0.5941 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.4221, allocations: 84.78 kB / 0.5942 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.4222, allocations: 39.92 kB / 0.5942 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.4225, allocations: 259.2 kB / 0.5945 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4225, allocations: 0 / 0.5945 GB, free: 13.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000924/0.4234, allocations: 304 kB / 0.5947 GB, free: 13.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00295/0.4263, allocations: 2.153 MB / 0.5969 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.4287, allocations: 1.342 MB / 0.5982 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4287, allocations: 0 / 0.5982 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.4299, allocations: 0.7969 MB / 0.5989 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.4306, allocations: 110.1 kB / 0.599 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.4415, allocations: 7.526 MB / 0.6064 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.4421, allocations: 476.9 kB / 0.6068 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004591/0.4426, allocations: 188.6 kB / 0.607 GB, free: 472 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.443, allocations: 263.3 kB / 0.6073 GB, free: 212 kB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.443, allocations: 0 / 0.6073 GB, free: 212 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05096/0.4939, allocations: 17.84 MB / 0.6247 GB, free: 14.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.55, allocations: 4 kB / 0.6247 GB, free: 14.51 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.54606755124405] Failed to read output from testmodel.py, exit status != 0: 12.665068056900054 12.680522181 12.316085947 Calling exit ...