Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.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.001392/0.001392, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001632/0.001632, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002548/0.002548, allocations: 294.5 kB / 313.5 MB, free: 2.84 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [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.002852/0.002852, allocations: 97.72 kB / 0.7408 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 95.39 MB / 0.8339 GB, free: 8.207 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004031/0.1909, allocations: 2.39 MB / 0.8363 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1924, allocations: 0.8727 MB / 0.8371 GB, free: 4.926 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.1925, allocations: 4 kB / 0.8371 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.1931, allocations: 162.1 kB / 0.8373 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1933, allocations: 67.61 kB / 0.8373 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1935, allocations: 59.86 kB / 0.8374 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1937, allocations: 163.5 kB / 0.8376 GB, free: 4.48 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.1939, allocations: 84.91 kB / 0.8376 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1941, allocations: 75.69 kB / 0.8377 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1943, allocations: 71.69 kB / 0.8378 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.1943, allocations: 12 kB / 0.8378 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1944, allocations: 63.89 kB / 0.8378 GB, free: 4.176 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.1945, allocations: 35.89 kB / 0.8379 GB, free: 4.141 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.1946, allocations: 67.66 kB / 0.8379 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1948, allocations: 183.3 kB / 0.8381 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1948, allocations: 0 / 0.8381 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1948, allocations: 4 kB / 0.8381 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.1949, allocations: 0 / 0.8381 GB, free: 3.891 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006993/0.1956, allocations: 413.3 kB / 0.8385 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1956, allocations: 13.34 kB / 0.8385 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.1959, allocations: 36.81 kB / 0.8386 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1961, allocations: 162.8 kB / 0.8387 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.1962, allocations: 71.66 kB / 0.8388 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1962, allocations: 11.94 kB / 0.8388 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1965, allocations: 144.2 kB / 0.8389 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1965, allocations: 4 kB / 0.8389 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.1966, allocations: 7.984 kB / 0.839 GB, free: 2.953 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1966, allocations: 8 kB / 0.839 GB, free: 2.945 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1968, allocations: 87.83 kB / 0.839 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.1976, allocations: 0.6043 MB / 0.8396 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1979, allocations: 58.55 kB / 0.8397 GB, free: 2.129 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.1979, allocations: 24.86 kB / 0.8397 GB, free: 2.102 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.198, allocations: 3.984 kB / 0.8397 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1982, allocations: 154.9 kB / 0.8399 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1982, allocations: 0 / 0.8399 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.0003831/0.1986, allocations: 155.3 kB / 0.84 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.1987, allocations: 136.5 kB / 0.8401 GB, free: 1.594 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1988, allocations: 191.7 kB / 0.8403 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1989, allocations: 25.7 kB / 0.8403 GB, free: 1.363 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.199, allocations: 140 kB / 0.8405 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.199, allocations: 23.83 kB / 0.8405 GB, free: 1.195 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.1991, allocations: 49.66 kB / 0.8406 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1992, allocations: 322.8 kB / 0.8409 GB, free: 0.8164 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.1993, allocations: 35.98 kB / 0.8409 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1995, allocations: 111.8 kB / 0.841 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1997, allocations: 234.3 kB / 0.8412 GB, free: 368 kB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1997, allocations: 0 / 0.8412 GB, free: 368 kB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000372/0.2001, allocations: 248.8 kB / 0.8415 GB, free: 100 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.2002, allocations: 59.41 kB / 0.8415 GB, free: 28 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2002, allocations: 3.938 kB / 0.8415 GB, free: 24 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2002, allocations: 4 kB / 0.8415 GB, free: 20 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2003, allocations: 32.03 kB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2003, allocations: 7.938 kB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2005, allocations: 23.83 kB / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.2005, allocations: 12 kB / 0.8416 GB, free: 15.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.0001426/0.2006, allocations: 160.3 kB / 0.8418 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2007, allocations: 23.78 kB / 0.8418 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.2007, allocations: 17.39 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2007, allocations: 0 / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2007, allocations: 0 / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2007, allocations: 4 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.2009, allocations: 184.7 kB / 0.842 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.2009, allocations: 3.938 kB / 0.842 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.201, allocations: 11.94 kB / 0.842 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.201, allocations: 8 kB / 0.842 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.201, allocations: 4 kB / 0.842 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.201, allocations: 3.984 kB / 0.842 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.201, allocations: 0 / 0.842 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.2014, allocations: 210.7 kB / 0.8422 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2014, allocations: 15.88 kB / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2014, allocations: 4 kB / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.2015, allocations: 16.05 kB / 0.8422 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.2016, allocations: 8 kB / 0.8422 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2016, allocations: 3.984 kB / 0.8422 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2017, allocations: 140.3 kB / 0.8424 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2017, allocations: 0 / 0.8424 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002458/0.202, allocations: 31.94 kB / 0.8424 GB, free: 15.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001032/0.2021, allocations: 103.2 kB / 0.8425 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.2024, allocations: 218.6 kB / 0.8427 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2024, allocations: 0 / 0.8427 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2025, allocations: 83.39 kB / 0.8428 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2027, allocations: 27.86 kB / 0.8428 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2034, allocations: 321.1 kB / 0.8431 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.2037, allocations: 0.7123 MB / 0.8438 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.2038, allocations: 19.38 kB / 0.8438 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2038, allocations: 0 / 0.8438 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.003685/0.2074, allocations: 1.737 MB / 0.8455 GB, free: 11.73 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.558814561925828] Failed to read output from testmodel.py, exit status != 0: 0.2150857790838927 0.231079583 0.033039159000000005 Calling exit ...