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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 284.3 kB / 303 MB, free: 3.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9565/0.9565, allocations: 180.9 MB / 0.5261 GB, free: 2.762 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 103.8 kB / 0.7248 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4228, allocations: 94.15 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009553/0.4324, allocations: 11.05 MB / 0.8275 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.4452, allocations: 8.892 MB / 0.8362 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.4466, allocations: 55.22 kB / 0.8362 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004205/0.4508, allocations: 1.689 MB / 0.8379 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.4551, allocations: 1.576 MB / 0.8394 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4568, allocations: 0.669 MB / 0.8401 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.4596, allocations: 2.293 MB / 0.8423 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.4611, allocations: 1.096 MB / 0.8434 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.4626, allocations: 1.003 MB / 0.8444 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.464, allocations: 1.071 MB / 0.8454 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.4642, allocations: 137.5 kB / 0.8455 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4656, allocations: 0.817 MB / 0.8463 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.4661, allocations: 0.579 MB / 0.8469 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008563/0.467, allocations: 0.8857 MB / 0.8478 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.4699, allocations: 2.58 MB / 0.8503 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4699, allocations: 0 / 0.8503 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4699, allocations: 0 / 0.8503 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.4699, allocations: 5 kB / 0.8503 GB, free: 2.699 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003338/0.4732, allocations: 2.074 MB / 0.8523 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4733, allocations: 10.8 kB / 0.8523 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/0.4735, allocations: 185.9 kB / 0.8525 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009764/0.4833, allocations: 2.063 MB / 0.8545 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.4855, allocations: 1.222 MB / 0.8557 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.4856, allocations: 89.53 kB / 0.8558 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.4858, allocations: 114.6 kB / 0.8559 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/0.4906, allocations: 2.486 MB / 0.8583 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.4907, allocations: 15.5 kB / 0.8584 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.4908, allocations: 52.2 kB / 0.8584 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.4911, allocations: 126.9 kB / 0.8585 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006212/0.4973, allocations: 2.546 MB / 0.861 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.5101, allocations: 10.04 MB / 0.8708 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.5155, allocations: 1.916 MB / 0.8727 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.5179, allocations: 0.9436 MB / 0.8736 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.518, allocations: 9.266 kB / 0.8736 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.518, allocations: 42.22 kB / 0.8737 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.314e-06/0.518, allocations: 0 / 0.8737 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.02798/0.546, allocations: 8.722 MB / 0.8822 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.546, allocations: 68 kB / 0.8822 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.5475, allocations: 1.089 MB / 0.8833 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.5476, allocations: 41.7 kB / 0.8833 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/0.5481, allocations: 0.7551 MB / 0.8841 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.5484, allocations: 293.5 kB / 0.8844 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.5488, allocations: 202.5 kB / 0.8846 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5489, allocations: 341.9 kB / 0.8849 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.5516, allocations: 1.075 MB / 0.8859 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.5544, allocations: 1.305 MB / 0.8872 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005451/0.5598, allocations: 2.386 MB / 0.8895 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5598, allocations: 4 kB / 0.8895 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008095/0.5679, allocations: 3.257 MB / 0.8927 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5679, allocations: 8 kB / 0.8927 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.568, allocations: 8 kB / 0.8927 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.5705, allocations: 0.7878 MB / 0.8935 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.5722, allocations: 415.3 kB / 0.8939 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.5881, allocations: 15.92 MB / 0.9094 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.5902, allocations: 295.6 kB / 0.9097 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.5903, allocations: 47.97 kB / 0.9098 GB, free: 15.35 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.0007472/0.591, allocations: 409.3 kB / 0.9102 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.5913, allocations: 151.1 kB / 0.9103 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008006/0.5993, allocations: 3.175 MB / 0.9134 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5993, allocations: 8 kB / 0.9134 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.5993, allocations: 8 kB / 0.9134 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5993, allocations: 3.984 kB / 0.9134 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6099, allocations: 4.87 MB / 0.9182 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6099, allocations: 4 kB / 0.9182 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.6114, allocations: 355.7 kB / 0.9185 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.6136, allocations: 0.7017 MB / 0.9192 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/0.6136, allocations: 31.97 kB / 0.9192 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/0.6287, allocations: 15.55 MB / 0.9344 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.6288, allocations: 7.938 kB / 0.9344 GB, free: 4.777 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/0.6363, allocations: 3.017 MB / 0.9374 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6374, allocations: 392 kB / 0.9378 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.6376, allocations: 23.94 kB / 0.9378 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.6392, allocations: 291.5 kB / 0.9381 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6394, allocations: 80.5 kB / 0.9381 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.6395, allocations: 35.95 kB / 0.9382 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009445/0.6405, allocations: 0.7405 MB / 0.9389 GB, free: 116 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6405, allocations: 3.938 kB / 0.9389 GB, free: 112 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001338/0.6418, allocations: 432 kB / 0.9393 GB, free: 15.68 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.007662/0.6495, allocations: 3.593 MB / 0.9428 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007717/0.6572, allocations: 3.515 MB / 0.9462 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6572, allocations: 3.938 kB / 0.9463 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.6617, allocations: 2.321 MB / 0.9485 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.6638, allocations: 0.5202 MB / 0.949 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/0.6938, allocations: 15.82 MB / 0.9645 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.6949, allocations: 1.388 MB / 0.9658 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001175/0.6961, allocations: 375.9 kB / 0.9662 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/0.6968, allocations: 0.6008 MB / 0.9668 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.6968, allocations: 0 / 0.9668 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09514/0.792, allocations: 41.79 MB / 1.008 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.76, allocations: 2.578 kB / 1.008 GB, free: 9.656 MB / 0.7481 GB " [Timeout remaining time 646] (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: 17.242025772109628] Failed to read output from testmodel.py, exit status != 0: 13.863925342913717 13.87676483 13.404267531 Calling exit ...