Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001328/0.001328, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001417/0.001417, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.00246/0.00246, allocations: 241.9 kB / 260 MB, free: 456 kB / 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 0.9481/0.9481, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.003145/0.003145, allocations: 98.19 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4116, allocations: 95.34 MB / 0.7405 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007216/0.4188, allocations: 6.486 MB / 0.7468 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.4232, allocations: 3.035 MB / 0.7498 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.4236, allocations: 36.22 kB / 0.7498 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.4258, allocations: 0.9591 MB / 0.7507 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009676/0.4268, allocations: 0.5228 MB / 0.7512 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009596/0.4277, allocations: 428 kB / 0.7516 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4288, allocations: 1.224 MB / 0.7528 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.4296, allocations: 0.5321 MB / 0.7534 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.4301, allocations: 495.1 kB / 0.7538 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.4308, allocations: 0.5114 MB / 0.7543 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.4309, allocations: 67.06 kB / 0.7544 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.4315, allocations: 343.4 kB / 0.7547 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.4318, allocations: 317.9 kB / 0.755 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.4322, allocations: 375.7 kB / 0.7554 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.4332, allocations: 1.227 MB / 0.7566 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4332, allocations: 0 / 0.7566 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4332, allocations: 0 / 0.7566 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.4332, allocations: 1.219 kB / 0.7566 GB, free: 7.938 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001567/0.4348, allocations: 1.112 MB / 0.7577 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4348, allocations: 11.03 kB / 0.7577 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.4363, allocations: 244.5 kB / 0.7579 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.4371, allocations: 0.5233 MB / 0.7584 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.4371, allocations: 51.33 kB / 0.7585 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.4372, allocations: 62.44 kB / 0.7585 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4385, allocations: 1.34 MB / 0.7598 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.4385, allocations: 10.33 kB / 0.7598 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.4386, allocations: 34.27 kB / 0.7599 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.4387, allocations: 84.81 kB / 0.76 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.4397, allocations: 0.7471 MB / 0.7607 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.4432, allocations: 4.518 MB / 0.7651 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.4441, allocations: 0.5177 MB / 0.7656 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.4445, allocations: 287.2 kB / 0.7659 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4445, allocations: 4.875 kB / 0.7659 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.4445, allocations: 42.59 kB / 0.7659 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.4445, allocations: 1.125 kB / 0.7659 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003507/0.448, allocations: 1.69 MB / 0.7676 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4481, allocations: 64.44 kB / 0.7676 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.4486, allocations: 0.5007 MB / 0.7681 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.4487, allocations: 36.39 kB / 0.7682 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.449, allocations: 425.3 kB / 0.7686 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4491, allocations: 180.3 kB / 0.7687 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.4493, allocations: 128.4 kB / 0.7689 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4495, allocations: 376.2 kB / 0.7692 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.4499, allocations: 271.9 kB / 0.7695 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.4505, allocations: 494.3 kB / 0.77 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4516, allocations: 0.8043 MB / 0.7707 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4516, allocations: 1.281 kB / 0.7707 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001825/0.4534, allocations: 1.07 MB / 0.7718 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4535, allocations: 12.19 kB / 0.7718 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4535, allocations: 6.875 kB / 0.7718 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008635/0.4543, allocations: 282.6 kB / 0.7721 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.4548, allocations: 124.4 kB / 0.7722 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.4617, allocations: 6.597 MB / 0.7786 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.4623, allocations: 42.58 kB / 0.7787 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.4623, allocations: 35.81 kB / 0.7787 GB, free: 6.469 MB / 0.6075 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003755/0.4627, allocations: 251 kB / 0.779 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.4628, allocations: 68.8 kB / 0.779 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4644, allocations: 0.876 MB / 0.7799 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4644, allocations: 7.594 kB / 0.7799 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4644, allocations: 3.594 kB / 0.7799 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4644, allocations: 5.766 kB / 0.7799 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.467, allocations: 1.52 MB / 0.7814 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.467, allocations: 6.75 kB / 0.7814 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.4673, allocations: 59.27 kB / 0.7814 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/0.4681, allocations: 269.8 kB / 0.7817 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.4681, allocations: 11.59 kB / 0.7817 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/0.4749, allocations: 6.586 MB / 0.7881 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4749, allocations: 3.094 kB / 0.7881 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4764, allocations: 0.9769 MB / 0.7891 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.4767, allocations: 111 kB / 0.7892 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.4768, allocations: 15.38 kB / 0.7892 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4772, allocations: 33.33 kB / 0.7892 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.4773, allocations: 43.14 kB / 0.7893 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.4773, allocations: 15.75 kB / 0.7893 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003765/0.4777, allocations: 341.5 kB / 0.7896 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.4777, allocations: 0 / 0.7896 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008187/0.4785, allocations: 224 kB / 0.7898 GB, free: 13.59 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.4787, allocations: 114.4 kB / 0.7899 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.4806, allocations: 1.221 MB / 0.7911 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4806, allocations: 3.938 kB / 0.7911 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.4819, allocations: 0.8714 MB / 0.792 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.4828, allocations: 205.7 kB / 0.7922 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.485, allocations: 1.356 MB / 0.7935 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.4854, allocations: 415.3 kB / 0.7939 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.4857, allocations: 113.4 kB / 0.794 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4858, allocations: 40.5 kB / 0.7941 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.4858, allocations: 0 / 0.7941 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.01965/0.5055, allocations: 11.35 MB / 0.8051 GB, free: 15.08 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1859448730247095] Failed to read output from testmodel.py, exit status != 0: 0.5137349650030956 0.527959851 0.091704859 Calling exit ...