Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001245/0.001245, 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.001399/0.001399, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] 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.0024/0.0024, allocations: 278.2 kB / 312.7 MB, free: 2.77 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.134/1.134, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002722/0.002722, allocations: 100.4 kB / 0.7396 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1427, allocations: 95.39 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01311/0.1558, allocations: 11.32 MB / 0.8438 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1686, allocations: 9.139 MB / 0.8527 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.1695, allocations: 79.31 kB / 0.8528 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.1736, allocations: 1.741 MB / 0.8545 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.1772, allocations: 1.57 MB / 0.856 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1788, allocations: 0.6806 MB / 0.8567 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.1814, allocations: 2.292 MB / 0.8589 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.1828, allocations: 1.164 MB / 0.8601 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1842, allocations: 1.02 MB / 0.8611 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.1856, allocations: 1.074 MB / 0.8621 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1857, allocations: 140 kB / 0.8622 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.1871, allocations: 0.8188 MB / 0.863 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005064/0.1876, allocations: 0.5802 MB / 0.8636 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.1884, allocations: 0.8861 MB / 0.8645 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.1911, allocations: 2.584 MB / 0.867 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1911, allocations: 4 kB / 0.867 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1911, allocations: 0 / 0.867 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.1911, allocations: 0 / 0.867 GB, free: 5.387 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003159/0.1943, allocations: 1.995 MB / 0.869 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1943, allocations: 9.344 kB / 0.869 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.1945, allocations: 190.1 kB / 0.8691 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009835/0.2044, allocations: 2.059 MB / 0.8712 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.2067, allocations: 1.137 MB / 0.8723 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.649e-05/0.2068, allocations: 86.69 kB / 0.8724 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.207, allocations: 115.9 kB / 0.8725 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.2119, allocations: 2.483 MB / 0.8749 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.212, allocations: 3.938 kB / 0.8749 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.2121, allocations: 63.92 kB / 0.875 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.2124, allocations: 126.1 kB / 0.8751 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.2188, allocations: 2.537 MB / 0.8775 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.2315, allocations: 9.926 MB / 0.8872 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005547/0.237, allocations: 1.847 MB / 0.889 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.2395, allocations: 0.9425 MB / 0.89 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.2395, allocations: 8.438 kB / 0.89 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2395, allocations: 35 kB / 0.89 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.2395, allocations: 0 / 0.89 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.02845/0.268, allocations: 8.642 MB / 0.8984 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.268, allocations: 64 kB / 0.8985 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2694, allocations: 1.101 MB / 0.8996 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.915e-05/0.2694, allocations: 41.7 kB / 0.8996 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.27, allocations: 0.755 MB / 0.9004 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.2703, allocations: 297.4 kB / 0.9006 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.2706, allocations: 202.5 kB / 0.9008 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2708, allocations: 341.9 kB / 0.9012 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.2734, allocations: 1.079 MB / 0.9022 GB, free: 312 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.2762, allocations: 1.301 MB / 0.9035 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/0.2818, allocations: 2.382 MB / 0.9058 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2818, allocations: 4 kB / 0.9058 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008134/0.2899, allocations: 3.25 MB / 0.909 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2899, allocations: 8 kB / 0.909 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2899, allocations: 8 kB / 0.909 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/0.2926, allocations: 0.7953 MB / 0.9098 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.2944, allocations: 419.3 kB / 0.9102 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.3105, allocations: 15.1 MB / 0.9249 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.3125, allocations: 295.6 kB / 0.9252 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.3127, allocations: 51.95 kB / 0.9253 GB, free: 7.531 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0007455/0.3134, allocations: 400.5 kB / 0.9256 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.3138, allocations: 155 kB / 0.9258 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008235/0.322, allocations: 3.179 MB / 0.9289 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.322, allocations: 8 kB / 0.9289 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.322, allocations: 8 kB / 0.9289 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.322, allocations: 3.984 kB / 0.9289 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.333, allocations: 4.857 MB / 0.9337 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.333, allocations: 4 kB / 0.9337 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.3346, allocations: 355.7 kB / 0.934 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.3368, allocations: 0.6936 MB / 0.9347 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.3369, allocations: 31.97 kB / 0.9347 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.3521, allocations: 14.73 MB / 0.9491 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3521, allocations: 7.938 kB / 0.9491 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007498/0.3596, allocations: 3.013 MB / 0.952 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/0.3605, allocations: 310.9 kB / 0.9523 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.3608, allocations: 20 kB / 0.9524 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/0.3626, allocations: 295.4 kB / 0.9526 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.3628, allocations: 80.45 kB / 0.9527 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.774e-05/0.3629, allocations: 39.97 kB / 0.9528 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00111/0.364, allocations: 0.7443 MB / 0.9535 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.364, allocations: 0 / 0.9535 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001537/0.3656, allocations: 432 kB / 0.9539 GB, free: 9.008 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.007841/0.3734, allocations: 3.593 MB / 0.9574 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007977/0.3814, allocations: 3.519 MB / 0.9608 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3814, allocations: 3.938 kB / 0.9608 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/0.386, allocations: 2.325 MB / 0.9631 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.3881, allocations: 0.5205 MB / 0.9636 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/0.42, allocations: 15.83 MB / 0.9791 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.4212, allocations: 1.384 MB / 0.9804 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001251/0.4225, allocations: 375.8 kB / 0.9808 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/0.4233, allocations: 0.6008 MB / 0.9814 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.4233, allocations: 0 / 0.9814 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3823/0.8056, allocations: 42.73 MB / 1.023 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.67, allocations: 7.938 kB / 1.023 GB, free: 143.3 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.508373465854675] Failed to read output from testmodel.py, exit status != 0: 15.809928121045232 15.823093513 15.629365399 Calling exit ...