Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001535/0.001535, allocations: 213.8 kB / 22.25 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002656/0.002656, allocations: 285.8 kB / 312.7 MB, free: 2.918 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.251/1.251, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003001/0.003001, allocations: 112 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1949, allocations: 95.38 MB / 0.8328 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04468/0.2396, allocations: 36.81 MB / 0.8687 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.2587, allocations: 10.34 MB / 0.8788 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.2621, allocations: 190.6 kB / 0.879 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.011/0.2731, allocations: 3.988 MB / 0.8829 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006942/0.28, allocations: 2.142 MB / 0.885 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005599/0.2856, allocations: 2.027 MB / 0.8869 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.2973, allocations: 7.976 MB / 0.8947 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0086/0.3059, allocations: 5.287 MB / 0.8999 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005907/0.3118, allocations: 3.463 MB / 0.9033 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007135/0.3189, allocations: 3.941 MB / 0.9071 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.3206, allocations: 0.6797 MB / 0.9078 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.3246, allocations: 1.471 MB / 0.9092 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004641/0.3292, allocations: 2.677 MB / 0.9118 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007166/0.3364, allocations: 3.104 MB / 0.9149 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.3511, allocations: 10.41 MB / 0.925 GB, free: 9.762 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3511, allocations: 0 / 0.925 GB, free: 9.762 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3511, allocations: 0 / 0.925 GB, free: 9.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002776/0.3514, allocations: 0 / 0.925 GB, free: 9.762 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01353/0.3649, allocations: 5.471 MB / 0.9304 GB, free: 4.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3649, allocations: 13.28 kB / 0.9304 GB, free: 4.219 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001426/0.3664, allocations: 0.7101 MB / 0.9311 GB, free: 3.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/0.3711, allocations: 0.9812 MB / 0.932 GB, free: 2.516 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/0.3784, allocations: 3.132 MB / 0.9351 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.3787, allocations: 357.8 kB / 0.9354 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/0.3797, allocations: 472.3 kB / 0.9359 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.3957, allocations: 7.902 MB / 0.9436 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.3958, allocations: 19.81 kB / 0.9436 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005098/0.3963, allocations: 208 kB / 0.9438 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.3968, allocations: 365.1 kB / 0.9442 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.4075, allocations: 5.937 MB / 0.95 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/0.4487, allocations: 35.69 MB / 0.9848 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.452, allocations: 1.991 MB / 0.9868 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.4539, allocations: 1.34 MB / 0.9881 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.302e-05/0.454, allocations: 17.3 kB / 0.9881 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.454, allocations: 55.81 kB / 0.9882 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.026e-06/0.454, allocations: 0 / 0.9882 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.3707/0.8247, allocations: 6.654 MB / 0.9947 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8247, allocations: 69.34 kB / 0.9947 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.8278, allocations: 1.87 MB / 0.9965 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.8281, allocations: 57.45 kB / 0.9966 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.8293, allocations: 2.189 MB / 0.9987 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.8298, allocations: 0.5831 MB / 0.9993 GB, free: 145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006075/0.8304, allocations: 403.1 kB / 0.9997 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.8304, allocations: 302.5 kB / 1 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.832, allocations: 1.062 MB / 1.001 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.8336, allocations: 1.77 MB / 1.003 GB, free: 142.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.8368, allocations: 3.051 MB / 1.006 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.8368, allocations: 7.141 kB / 1.006 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007628/0.8444, allocations: 3.904 MB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.8445, allocations: 18.75 kB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-05/0.8445, allocations: 23.55 kB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.8473, allocations: 0.929 MB / 1.01 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.8489, allocations: 428.3 kB / 1.011 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.8649, allocations: 21.55 MB / 1.032 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.8669, allocations: 122.1 kB / 1.032 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.8671, allocations: 94.75 kB / 1.032 GB, free: 120.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002337/0.8694, allocations: 1.653 MB / 1.034 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.8698, allocations: 267.9 kB / 1.034 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.8741, allocations: 3.22 MB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8741, allocations: 15.66 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8742, allocations: 15.75 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.8742, allocations: 11.91 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.8842, allocations: 7.51 MB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.8842, allocations: 3.906 kB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.885, allocations: 219.6 kB / 1.045 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.8869, allocations: 0.8938 MB / 1.046 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.887, allocations: 31.03 kB / 1.046 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.901, allocations: 21.52 MB / 1.067 GB, free: 91.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.901, allocations: 7.938 kB / 1.067 GB, free: 91.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.9056, allocations: 3.365 MB / 1.07 GB, free: 88.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.9067, allocations: 474.7 kB / 1.07 GB, free: 88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.907, allocations: 30.11 kB / 1.07 GB, free: 87.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.908, allocations: 95.88 kB / 1.071 GB, free: 87.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.9083, allocations: 148.4 kB / 1.071 GB, free: 87.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/0.9084, allocations: 51.98 kB / 1.071 GB, free: 87.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00135/0.9098, allocations: 1.221 MB / 1.072 GB, free: 86.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9098, allocations: 3.609 kB / 1.072 GB, free: 86.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002552/0.9123, allocations: 0.9101 MB / 1.073 GB, free: 85.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004093/0.9164, allocations: 3.962 MB / 1.077 GB, free: 81.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004991/0.9214, allocations: 4.299 MB / 1.081 GB, free: 77.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.9214, allocations: 0 / 1.081 GB, free: 77.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.9245, allocations: 2.909 MB / 1.084 GB, free: 73.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.9276, allocations: 0.8161 MB / 1.085 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/0.9581, allocations: 25.26 MB / 1.109 GB, free: 46.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.9609, allocations: 3.209 MB / 1.112 GB, free: 43.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001584/0.9625, allocations: 0.5293 MB / 1.113 GB, free: 43.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.9639, allocations: 1.647 MB / 1.114 GB, free: 41.42 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.9639, allocations: 0 / 1.114 GB, free: 41.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/1.114, allocations: 72.64 MB / 1.185 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.45, allocations: 3.984 kB / 1.185 GB, free: 1.676 MB / 0.7637 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.815059799002483] Failed to read output from testmodel.py, exit status != 0: 16.605288159000338 16.631871045 16.275763589 Calling exit ...