Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001344/0.001344, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001568/0.001568, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.801 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.002635/0.002635, allocations: 287.3 kB / 312.7 MB, free: 2.609 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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: 109.1 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1745, allocations: 95.38 MB / 0.8327 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0405/0.215, allocations: 31.69 MB / 0.8636 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.2423, allocations: 14.46 MB / 0.8777 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.2469, allocations: 202.4 kB / 0.8779 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.2574, allocations: 3.683 MB / 0.8815 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00915/0.2665, allocations: 2.974 MB / 0.8844 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.2735, allocations: 2.34 MB / 0.8867 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01369/0.2872, allocations: 8.816 MB / 0.8953 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.3001, allocations: 5.471 MB / 0.9007 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008467/0.3085, allocations: 4.09 MB / 0.9047 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007701/0.3162, allocations: 3.994 MB / 0.9086 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.3185, allocations: 0.7226 MB / 0.9093 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.3231, allocations: 1.619 MB / 0.9108 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004759/0.3279, allocations: 2.895 MB / 0.9137 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007223/0.3351, allocations: 2.751 MB / 0.9164 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.3544, allocations: 11.29 MB / 0.9274 GB, free: 6.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3544, allocations: 0 / 0.9274 GB, free: 6.805 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3544, allocations: 0 / 0.9274 GB, free: 6.805 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003587/0.3547, allocations: 0 / 0.9274 GB, free: 6.805 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01742/0.3721, allocations: 6.053 MB / 0.9333 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3722, allocations: 13.34 kB / 0.9333 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002377/0.3746, allocations: 0.7232 MB / 0.934 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/0.3825, allocations: 1.168 MB / 0.9352 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.394, allocations: 3.477 MB / 0.9385 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004816/0.3944, allocations: 374.4 kB / 0.9389 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/0.3965, allocations: 495.9 kB / 0.9394 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.4197, allocations: 8.862 MB / 0.948 GB, free: 1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/0.42, allocations: 19.83 kB / 0.9481 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.4222, allocations: 216 kB / 0.9483 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.4237, allocations: 445.5 kB / 0.9487 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.4389, allocations: 6.069 MB / 0.9546 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04458/0.4834, allocations: 22.05 MB / 0.9761 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.4869, allocations: 1.913 MB / 0.978 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.4899, allocations: 1.752 MB / 0.9797 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.4901, allocations: 18 kB / 0.9797 GB, free: 16 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3757/0.8658, allocations: 56.5 kB / 0.9798 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 5.149e-06/0.8658, allocations: 0 / 0.9798 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1427/1.008, allocations: 38.7 MB / 1.018 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.009, allocations: 81.58 kB / 1.018 GB, free: 115 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/1.011, allocations: 2.316 MB / 1.02 GB, free: 112.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.011, allocations: 73.7 kB / 1.02 GB, free: 112.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008777/1.012, allocations: 2.338 MB / 1.022 GB, free: 110.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/1.013, allocations: 0.9839 MB / 1.023 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008268/1.013, allocations: 0.5025 MB / 1.024 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/1.013, allocations: 309 kB / 1.024 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/1.016, allocations: 1.97 MB / 1.026 GB, free: 107 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/1.018, allocations: 2.606 MB / 1.028 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/1.023, allocations: 4.933 MB / 1.033 GB, free: 98.92 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.023, allocations: 8 kB / 1.033 GB, free: 98.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01178/1.034, allocations: 7.644 MB / 1.041 GB, free: 91.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.034, allocations: 12 kB / 1.041 GB, free: 91.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.034, allocations: 16 kB / 1.041 GB, free: 91.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007859/1.042, allocations: 3.227 MB / 1.044 GB, free: 87.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.044, allocations: 392.9 kB / 1.044 GB, free: 87.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03441/1.078, allocations: 32.76 MB / 1.076 GB, free: 54.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.081, allocations: 163.8 kB / 1.076 GB, free: 53.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/1.081, allocations: 108 kB / 1.077 GB, free: 53.87 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002349/1.084, allocations: 1.794 MB / 1.078 GB, free: 52.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/1.084, allocations: 349.8 kB / 1.079 GB, free: 51.72 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.096, allocations: 7.239 MB / 1.086 GB, free: 44.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.096, allocations: 28 kB / 1.086 GB, free: 44.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/1.096, allocations: 28.94 kB / 1.086 GB, free: 44.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.096, allocations: 19.94 kB / 1.086 GB, free: 44.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.114, allocations: 12.14 MB / 1.098 GB, free: 32.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.114, allocations: 8.844 kB / 1.098 GB, free: 32.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/1.115, allocations: 227.6 kB / 1.098 GB, free: 31.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006992/1.122, allocations: 2.845 MB / 1.101 GB, free: 28.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/1.122, allocations: 52 kB / 1.101 GB, free: 28.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03491/1.157, allocations: 31.54 MB / 1.132 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.157, allocations: 11.94 kB / 1.132 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.17, allocations: 6.783 MB / 1.138 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/1.173, allocations: 0.729 MB / 1.139 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006364/1.173, allocations: 59.92 kB / 1.139 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.175, allocations: 171.7 kB / 1.139 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008531/1.176, allocations: 265.3 kB / 1.139 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.176, allocations: 72 kB / 1.139 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002403/1.179, allocations: 1.526 MB / 1.141 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.179, allocations: 4 kB / 1.141 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004368/1.183, allocations: 1.375 MB / 1.142 GB, free: 1.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01372/1.197, allocations: 7.406 MB / 1.149 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.21, allocations: 6.572 MB / 1.156 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.21, allocations: 0 / 1.156 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008666/1.219, allocations: 4.254 MB / 1.16 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/1.224, allocations: 1.121 MB / 1.161 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07272/1.296, allocations: 39.06 MB / 1.199 GB, free: 5.703 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/1.301, allocations: 3.104 MB / 1.202 GB, free: 2.562 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002078/1.303, allocations: 0.5595 MB / 1.203 GB, free: 2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/1.306, allocations: 1.979 MB / 1.205 GB, free: 20 kB / 0.795 GB Notification: Performance of SimCode: time 1.432e-06/1.306, allocations: 0 / 1.205 GB, free: 20 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/1.541, allocations: 119.1 MB / 1.321 GB, free: 10.46 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.57, allocations: 7.875 kB / 1.321 GB, free: 10.46 MB / 0.92 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.32479351107031] Failed to read output from testmodel.py, exit status != 0: 17.75260018883273 18.108554149 17.751061415 Calling exit ...