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.001828/0.001828, allocations: 116.1 kB / 17.17 MB, free: 6 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.001458/0.001458, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.00269/0.00269, allocations: 284.2 kB / 309.8 MB, free: 3.488 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.113/1.113, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002944/0.002944, allocations: 101.4 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5495, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01338/0.5629, allocations: 11.07 MB / 0.8386 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5781, allocations: 8.937 MB / 0.8473 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.58, allocations: 77.75 kB / 0.8474 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004902/0.5849, allocations: 1.69 MB / 0.849 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006016/0.5909, allocations: 1.568 MB / 0.8506 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.5934, allocations: 0.6725 MB / 0.8512 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004228/0.5976, allocations: 2.284 MB / 0.8535 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.5996, allocations: 1.101 MB / 0.8545 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.6019, allocations: 1.03 MB / 0.8555 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.6041, allocations: 1.065 MB / 0.8566 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.6044, allocations: 137.7 kB / 0.8567 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.6065, allocations: 0.8175 MB / 0.8575 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.6073, allocations: 0.5785 MB / 0.8581 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.6086, allocations: 0.8864 MB / 0.8589 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.6131, allocations: 2.587 MB / 0.8615 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6131, allocations: 0 / 0.8615 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6131, allocations: 0 / 0.8615 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.067e-05/0.6132, allocations: 0 / 0.8615 GB, free: 13.81 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.004532/0.6177, allocations: 2.082 MB / 0.8635 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6177, allocations: 9.094 kB / 0.8635 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.907e-05/0.6178, allocations: 35.92 kB / 0.8635 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/0.6181, allocations: 188.8 kB / 0.8637 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.6301, allocations: 2.055 MB / 0.8657 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.6331, allocations: 1.23 MB / 0.8669 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.6332, allocations: 88.89 kB / 0.867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.6336, allocations: 119.7 kB / 0.8671 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/0.64, allocations: 2.475 MB / 0.8696 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.6401, allocations: 8.125 kB / 0.8696 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.6402, allocations: 53.27 kB / 0.8696 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003919/0.6406, allocations: 131.3 kB / 0.8697 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008123/0.6488, allocations: 2.535 MB / 0.8722 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.665, allocations: 10.04 MB / 0.882 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006805/0.6718, allocations: 1.925 MB / 0.8839 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.6748, allocations: 0.9426 MB / 0.8848 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.6749, allocations: 5.719 kB / 0.8848 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.6749, allocations: 38.41 kB / 0.8849 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.405e-06/0.6749, allocations: 0 / 0.8849 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03385/0.7088, allocations: 8.709 MB / 0.8934 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.7088, allocations: 67.98 kB / 0.8934 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.7105, allocations: 1.093 MB / 0.8945 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.7106, allocations: 41.7 kB / 0.8945 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.7113, allocations: 0.7551 MB / 0.8953 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.7116, allocations: 297.4 kB / 0.8956 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.712, allocations: 202.5 kB / 0.8958 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7122, allocations: 341.9 kB / 0.8961 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.7155, allocations: 1.071 MB / 0.8971 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.7189, allocations: 1.309 MB / 0.8984 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006759/0.7257, allocations: 2.378 MB / 0.9007 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.7257, allocations: 4 kB / 0.9007 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009861/0.7355, allocations: 3.254 MB / 0.9039 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.7356, allocations: 8 kB / 0.9039 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.7356, allocations: 8 kB / 0.9039 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.7386, allocations: 0.7953 MB / 0.9047 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.7407, allocations: 423.2 kB / 0.9051 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.7589, allocations: 15.92 MB / 0.9207 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.7615, allocations: 295.6 kB / 0.9209 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.7617, allocations: 51.97 kB / 0.921 GB, free: 8.145 MB / 0.6544 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.0008659/0.7626, allocations: 397.4 kB / 0.9214 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.7629, allocations: 155.1 kB / 0.9215 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00955/0.7724, allocations: 3.175 MB / 0.9246 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.7725, allocations: 11.94 kB / 0.9246 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.7725, allocations: 8 kB / 0.9246 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7725, allocations: 3.984 kB / 0.9246 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.7851, allocations: 4.886 MB / 0.9294 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7851, allocations: 0 / 0.9294 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.7869, allocations: 355.7 kB / 0.9297 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.7893, allocations: 0.7014 MB / 0.9304 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.7894, allocations: 31.95 kB / 0.9305 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.8063, allocations: 15.53 MB / 0.9456 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.8063, allocations: 7.938 kB / 0.9456 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/0.8152, allocations: 3.017 MB / 0.9486 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/0.8162, allocations: 392 kB / 0.949 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.8165, allocations: 19.94 kB / 0.949 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.8185, allocations: 291.5 kB / 0.9492 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.8188, allocations: 76.5 kB / 0.9493 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.8189, allocations: 43.95 kB / 0.9494 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00109/0.82, allocations: 0.7327 MB / 0.9501 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.82, allocations: 4 kB / 0.9501 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001736/0.8217, allocations: 435.9 kB / 0.9505 GB, free: 8.492 MB / 0.6856 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.009293/0.831, allocations: 3.593 MB / 0.954 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009333/0.8404, allocations: 3.519 MB / 0.9574 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.8404, allocations: 4 kB / 0.9574 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005625/0.846, allocations: 2.321 MB / 0.9597 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.8487, allocations: 0.5281 MB / 0.9602 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/0.8874, allocations: 15.81 MB / 0.9757 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.8887, allocations: 1.388 MB / 0.977 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001546/0.8903, allocations: 383.8 kB / 0.9774 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009629/0.8912, allocations: 0.6008 MB / 0.978 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.8912, allocations: 0 / 0.978 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.9919, allocations: 41.85 MB / 1.019 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.88, allocations: 8.062 kB / 1.019 GB, free: 2.406 MB / 0.7481 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: 20.07979838497704] Failed to read output from testmodel.py, exit status != 0: 16.049588785972446 16.066138097 15.449476032 Calling exit ...