Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001677/0.001677, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002088/0.002088, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.416/1.416, allocations: 230.6 MB / 256.8 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.002447/0.002447, allocations: 285.8 kB / 313.5 MB, free: 2.797 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.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",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.002864/0.002864, allocations: 102.6 kB / 0.7404 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1707, allocations: 95.38 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008794/0.1795, allocations: 6.421 MB / 0.8398 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1851, allocations: 3.32 MB / 0.843 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1854, allocations: 39.62 kB / 0.8431 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.188, allocations: 0.9821 MB / 0.844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1891, allocations: 493.5 kB / 0.8445 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1903, allocations: 0.5008 MB / 0.845 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.1916, allocations: 1.104 MB / 0.8461 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.1924, allocations: 0.5103 MB / 0.8465 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.193, allocations: 458.3 kB / 0.847 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/0.1937, allocations: 0.4903 MB / 0.8475 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.1938, allocations: 60 kB / 0.8475 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.1946, allocations: 0.4911 MB / 0.848 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.1949, allocations: 299.1 kB / 0.8483 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.1953, allocations: 398 kB / 0.8487 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1967, allocations: 1.191 MB / 0.8498 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1967, allocations: 0 / 0.8498 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1967, allocations: 0 / 0.8498 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1967, allocations: 0 / 0.8498 GB, free: 7.863 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001692/0.1984, allocations: 1.003 MB / 0.8508 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1984, allocations: 13.34 kB / 0.8508 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.722e-05/0.1985, allocations: 25.48 kB / 0.8508 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.1986, allocations: 118.7 kB / 0.851 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.2001, allocations: 216.2 kB / 0.8512 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.2011, allocations: 0.536 MB / 0.8517 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.2012, allocations: 45.67 kB / 0.8517 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2013, allocations: 72.3 kB / 0.8518 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2028, allocations: 1.033 MB / 0.8528 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.2028, allocations: 7.938 kB / 0.8528 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.2029, allocations: 35.92 kB / 0.8529 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.245e-05/0.203, allocations: 65.28 kB / 0.8529 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2041, allocations: 0.6918 MB / 0.8536 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005626/0.2098, allocations: 5.662 MB / 0.8591 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.2105, allocations: 407.9 kB / 0.8595 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.2114, allocations: 398.7 kB / 0.8599 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2114, allocations: 4 kB / 0.8599 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2114, allocations: 38.56 kB / 0.8599 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.2114, allocations: 0 / 0.8599 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004319/0.2157, allocations: 1.71 MB / 0.8616 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2158, allocations: 55.41 kB / 0.8617 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.2163, allocations: 466.8 kB / 0.8621 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.2163, allocations: 33.7 kB / 0.8621 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.2166, allocations: 396.1 kB / 0.8625 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2168, allocations: 154.7 kB / 0.8627 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.217, allocations: 122.2 kB / 0.8628 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2171, allocations: 362.8 kB / 0.8631 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.2175, allocations: 245.2 kB / 0.8634 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.2181, allocations: 457 kB / 0.8638 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2191, allocations: 0.744 MB / 0.8645 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2191, allocations: 4 kB / 0.8645 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001967/0.2211, allocations: 1.031 MB / 0.8655 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2211, allocations: 11.94 kB / 0.8655 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2211, allocations: 8 kB / 0.8655 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.2222, allocations: 323.2 kB / 0.8659 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2225, allocations: 99.81 kB / 0.8659 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/0.2304, allocations: 7.066 MB / 0.8728 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.2308, allocations: 32.02 kB / 0.8729 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.2309, allocations: 28 kB / 0.8729 GB, free: 14.85 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.2312, allocations: 246.2 kB / 0.8731 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.2314, allocations: 63.56 kB / 0.8732 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.2331, allocations: 0.8847 MB / 0.8741 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2331, allocations: 8 kB / 0.8741 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2332, allocations: 0 / 0.8741 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.2332, allocations: 7.984 kB / 0.8741 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.236, allocations: 1.637 MB / 0.8757 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.236, allocations: 4.281 kB / 0.8757 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.2362, allocations: 39.97 kB / 0.8757 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.2372, allocations: 311.2 kB / 0.876 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.2372, allocations: 12 kB / 0.876 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007657/0.2448, allocations: 7.057 MB / 0.8829 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.2448, allocations: 4 kB / 0.8829 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2466, allocations: 0.9806 MB / 0.8839 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.2469, allocations: 103.6 kB / 0.884 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.2469, allocations: 11.98 kB / 0.884 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2472, allocations: 23.92 kB / 0.884 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2473, allocations: 39.92 kB / 0.8841 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2474, allocations: 16 kB / 0.8841 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003947/0.2478, allocations: 310.9 kB / 0.8844 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2478, allocations: 0 / 0.8844 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007631/0.2485, allocations: 192 kB / 0.8845 GB, free: 2.305 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002067/0.2506, allocations: 1.537 MB / 0.886 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.2526, allocations: 1.155 MB / 0.8872 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2526, allocations: 0 / 0.8872 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.254, allocations: 0.8424 MB / 0.888 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.255, allocations: 207.9 kB / 0.8882 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.2645, allocations: 5.871 MB / 0.8939 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.2653, allocations: 0.992 MB / 0.8949 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.2656, allocations: 101.2 kB / 0.895 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.2659, allocations: 231.3 kB / 0.8952 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.2659, allocations: 0 / 0.8952 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/0.3317, allocations: 16.05 MB / 0.9109 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.46, allocations: 19.27 kB / 0.9109 GB, free: 7.105 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.723358231945895] Failed to read output from testmodel.py, exit status != 0: 12.640810267010238 12.662646784 12.462880746 Calling exit ...