Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0007056/0.0007056, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000924/0.00163, allocations: 440 kB / 10.41 MB, free: 284 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.0006772/0.0006772, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008882/0.001565, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.931/0.931, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08307/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.001294/0.001294, allocations: 222.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.002344, allocations: 491.3 kB / 244.8 MB, free: 14.06 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.7161/0.7161, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07222/0.7884, allocations: 42.39 MB / 426.7 MB, free: 5.836 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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.752e-05, allocations: 2.312 kB / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003777/0.003795, allocations: 2.584 MB / 430.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.006216, allocations: 1.273 MB / 431.9 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.006327, allocations: 7.938 kB / 431.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.006762, allocations: 123.4 kB / 432 MB, free: 500 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.007143, allocations: 202.8 kB / 432.2 MB, free: 296 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.007509, allocations: 159.5 kB / 432.4 MB, free: 136 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1876/0.1951, allocations: 354.7 kB / 432.7 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.1954, allocations: 171.3 kB / 432.9 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.1958, allocations: 218.4 kB / 433.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.196, allocations: 161.9 kB / 433.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.1961, allocations: 25.66 kB / 433.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.1964, allocations: 161.9 kB / 433.5 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1965, allocations: 101.9 kB / 433.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.1966, allocations: 70.41 kB / 433.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.1969, allocations: 277.5 kB / 433.9 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.1969, allocations: 2.031 kB / 433.9 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1969, allocations: 0 / 433.9 MB, free: 1.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.197, allocations: 0 / 433.9 MB, free: 1.215 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006126/0.1976, allocations: 0.4935 MB / 434.4 MB, free: 16.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1976, allocations: 11.47 kB / 434.4 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.1981, allocations: 202.5 kB / 434.6 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1983, allocations: 185.8 kB / 434.8 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1983, allocations: 18.64 kB / 434.8 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1984, allocations: 25.34 kB / 434.8 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1986, allocations: 284.1 kB / 435.1 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1986, allocations: 0.7031 kB / 435.1 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1987, allocations: 9.953 kB / 435.1 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/0.1987, allocations: 31.94 kB / 435.1 MB, free: 16.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1988, allocations: 83.11 kB / 435.2 MB, free: 16.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1996, allocations: 0.8378 MB / 436.1 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1998, allocations: 161 kB / 436.2 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.1998, allocations: 35.2 kB / 436.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/0.1999, allocations: 11.28 kB / 436.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1999, allocations: 36.53 kB / 436.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.1999, allocations: 1.281 kB / 436.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005227/0.2004, allocations: 367.2 kB / 436.7 MB, free: 15.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2004, allocations: 53.78 kB / 436.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.2005, allocations: 171.7 kB / 436.9 MB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2005, allocations: 29.27 kB / 436.9 MB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.2006, allocations: 166.8 kB / 437.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2006, allocations: 71.92 kB / 437.1 MB, free: 15.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.2007, allocations: 59.5 kB / 437.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.2007, allocations: 331.1 kB / 437.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.2008, allocations: 28.28 kB / 437.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.2009, allocations: 83.59 kB / 437.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.201, allocations: 144.4 kB / 437.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.201, allocations: 1.438 kB / 437.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002771/0.2013, allocations: 207.5 kB / 438 MB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2013, allocations: 6.25 kB / 438 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2013, allocations: 1.891 kB / 438 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.2016, allocations: 114.4 kB / 438.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2018, allocations: 52.67 kB / 438.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008216/0.2026, allocations: 1.354 MB / 439.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.2027, allocations: 7.391 kB / 439.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2027, allocations: 9.719 kB / 439.5 MB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.2028, allocations: 124.9 kB / 439.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.2028, allocations: 18.89 kB / 439.7 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.203, allocations: 142.5 kB / 439.8 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.203, allocations: 6.375 kB / 439.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.203, allocations: 0.7031 kB / 439.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.203, allocations: 0.7969 kB / 439.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.2034, allocations: 406.5 kB / 440.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2034, allocations: 0 / 440.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.2036, allocations: 65.34 kB / 440.3 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.2036, allocations: 34.69 kB / 440.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2036, allocations: 3.656 kB / 440.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2036, allocations: 2.203 kB / 440.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2036, allocations: 3.562 kB / 440.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2036, allocations: 5.188 kB / 440.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.2038, allocations: 317.3 kB / 440.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2039, allocations: 4.891 kB / 440.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.2039, allocations: 3.562 kB / 440.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.204, allocations: 18.58 kB / 440.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.204, allocations: 2.75 kB / 440.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.204, allocations: 51.33 kB / 440.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.204, allocations: 0 / 440.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.2042, allocations: 71.94 kB / 440.8 MB, free: 13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.2044, allocations: 87.23 kB / 440.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.2047, allocations: 278 kB / 441.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.2047, allocations: 3.438 kB / 441.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.2048, allocations: 71.02 kB / 441.2 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2051, allocations: 258.8 kB / 441.5 MB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.2073, allocations: 0.5179 MB / 442 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.2074, allocations: 101.5 kB / 442.1 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.955e-05/0.2074, allocations: 27.53 kB / 442.1 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2075, allocations: 85.08 kB / 442.2 MB, free: 12.18 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2075, allocations: 0 / 442.2 MB, free: 12.18 MB / 426.7 MB Notification: Performance of Templates: time 0.005089/0.2126, allocations: 3.07 MB / 445.3 MB, free: 11.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3586836513131857]