Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0006946/0.0006946, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008561/0.001551, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006938/0.0006938, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008873/0.001581, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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 0.9312/0.9312, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07482/1.006, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 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.004634/0.004634, allocations: 240.3 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.00616, allocations: 470.9 kB / 244.7 MB, free: 14.19 MB / 250.7 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.6597/0.6597, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06539/0.7251, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 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.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.367e-05, allocations: 2.312 kB / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.002981/0.002994, allocations: 3.15 MB / 430.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00443, allocations: 1.165 MB / 432.1 MB, free: 300 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004571, allocations: 19.81 kB / 432.1 MB, free: 280 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.004922, allocations: 147 kB / 432.3 MB, free: 132 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1811/0.186, allocations: 253.3 kB / 432.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1865, allocations: 214.5 kB / 432.7 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.1872, allocations: 0.6417 MB / 433.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.1875, allocations: 224.7 kB / 433.6 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.1879, allocations: 381.3 kB / 434 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.1882, allocations: 222.6 kB / 434.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1882, allocations: 25.72 kB / 434.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1884, allocations: 90.19 kB / 434.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.1885, allocations: 116 kB / 434.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1886, allocations: 116.6 kB / 434.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.189, allocations: 338.5 kB / 434.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.189, allocations: 0.5625 kB / 434.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.189, allocations: 0 / 434.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.189, allocations: 0 / 434.8 MB, free: 0.9453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000728/0.1897, allocations: 0.7028 MB / 435.5 MB, free: 16.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.1898, allocations: 10.94 kB / 435.6 MB, free: 16.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.1902, allocations: 215.8 kB / 435.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1905, allocations: 335.1 kB / 436.1 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1906, allocations: 25.7 kB / 436.1 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1906, allocations: 29.41 kB / 436.1 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.191, allocations: 483.3 kB / 436.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.191, allocations: 9.844 kB / 436.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.191, allocations: 17.16 kB / 436.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.1911, allocations: 41.06 kB / 436.7 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1912, allocations: 147.5 kB / 436.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1926, allocations: 2.357 MB / 439.2 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1929, allocations: 210.6 kB / 439.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.193, allocations: 47.83 kB / 439.4 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.193, allocations: 4.312 kB / 439.4 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1931, allocations: 36.73 kB / 439.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.664e-06/0.1931, allocations: 0 / 439.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006843/0.1937, allocations: 367.8 kB / 439.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1938, allocations: 55.19 kB / 439.9 MB, free: 13.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.194, allocations: 322.6 kB / 440.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.194, allocations: 30.11 kB / 440.2 MB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1941, allocations: 231.6 kB / 440.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.1942, allocations: 96.3 kB / 440.6 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.1942, allocations: 76.41 kB / 440.6 MB, free: 13.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1943, allocations: 355.9 kB / 441 MB, free: 13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.1944, allocations: 41.39 kB / 441 MB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1945, allocations: 181.7 kB / 441.2 MB, free: 12.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1947, allocations: 292.1 kB / 441.5 MB, free: 12.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1947, allocations: 2.469 kB / 441.5 MB, free: 12.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003684/0.1951, allocations: 310.2 kB / 441.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1951, allocations: 7.531 kB / 441.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1951, allocations: 8.031 kB / 441.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.1953, allocations: 72.09 kB / 441.9 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1955, allocations: 86.52 kB / 442 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1955, allocations: 11.23 kB / 442 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1956, allocations: 13.39 kB / 442 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1956, allocations: 16.66 kB / 442 MB, free: 12.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.1957, allocations: 142.4 kB / 442.1 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.1958, allocations: 37.92 kB / 442.2 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.1961, allocations: 224.8 kB / 442.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1961, allocations: 3.188 kB / 442.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1961, allocations: 8.938 kB / 442.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1961, allocations: 3.234 kB / 442.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.1966, allocations: 0.5159 MB / 442.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1966, allocations: 4.031 kB / 442.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1967, allocations: 49.16 kB / 443 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.1968, allocations: 44.73 kB / 443 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.1969, allocations: 69.39 kB / 443.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1969, allocations: 6.562 kB / 443.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1969, allocations: 1.406 kB / 443.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1969, allocations: 2.594 kB / 443.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1972, allocations: 371.1 kB / 443.5 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1973, allocations: 9.844 kB / 443.5 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.1974, allocations: 8.703 kB / 443.5 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1974, allocations: 23.62 kB / 443.5 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1974, allocations: 11.81 kB / 443.5 MB, free: 11.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.772e-05/0.1975, allocations: 119.1 kB / 443.6 MB, free: 11.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1975, allocations: 0.6875 kB / 443.6 MB, free: 11.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.1978, allocations: 89.16 kB / 443.7 MB, free: 11.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.726e-05/0.1978, allocations: 93.89 kB / 443.8 MB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1981, allocations: 205.2 kB / 444 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.1981, allocations: 9.547 kB / 444 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1983, allocations: 111.8 kB / 444.1 MB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1986, allocations: 156.1 kB / 444.3 MB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.2004, allocations: 0.6914 MB / 445 MB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.2005, allocations: 121.6 kB / 445.1 MB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.2007, allocations: 45.78 kB / 445.1 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2008, allocations: 137.3 kB / 445.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2008, allocations: 0.875 kB / 445.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of Templates: time 0.007704/0.2086, allocations: 5.341 MB / 450.6 MB, free: 9.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.328301985748112]