Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 112.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7343/0.7343, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.58 kB / 0.5577 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1746, allocations: 76.18 MB / 0.6321 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005895/0.1805, allocations: 3.075 MB / 0.6351 GB, free: 1.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.1844, allocations: 1.722 MB / 0.6368 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.1847, allocations: 4 kB / 0.6368 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1858, allocations: 326.7 kB / 0.6371 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1864, allocations: 223.1 kB / 0.6373 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.1869, allocations: 174 kB / 0.6374 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1872, allocations: 327 kB / 0.6378 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.1876, allocations: 240.7 kB / 0.638 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1878, allocations: 131.6 kB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.1882, allocations: 159.5 kB / 0.6383 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.1882, allocations: 20 kB / 0.6383 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.1886, allocations: 247.5 kB / 0.6385 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1888, allocations: 103.8 kB / 0.6386 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1889, allocations: 123.4 kB / 0.6387 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.1895, allocations: 422.7 kB / 0.6391 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1895, allocations: 0 / 0.6391 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1895, allocations: 0 / 0.6391 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1895, allocations: 0 / 0.6391 GB, free: 13.28 MB / 494.1 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.00105/0.1906, allocations: 0.5459 MB / 0.6397 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1906, allocations: 8.031 kB / 0.6397 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.1914, allocations: 100.5 kB / 0.6398 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1918, allocations: 262 kB / 0.64 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1918, allocations: 12.81 kB / 0.64 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1919, allocations: 32.45 kB / 0.6401 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1925, allocations: 377.1 kB / 0.6404 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1925, allocations: 0 / 0.6404 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.1925, allocations: 15.98 kB / 0.6404 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.1926, allocations: 32.41 kB / 0.6405 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.1931, allocations: 301.5 kB / 0.6408 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1948, allocations: 1.521 MB / 0.6422 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.1952, allocations: 230.4 kB / 0.6425 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1954, allocations: 120.7 kB / 0.6426 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.1955, allocations: 89.11 kB / 0.6427 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1956, allocations: 38.55 kB / 0.6427 GB, free: 9.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1956, allocations: 0 / 0.6427 GB, free: 9.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001223/0.1968, allocations: 0.7842 MB / 0.6435 GB, free: 8.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1969, allocations: 51.41 kB / 0.6435 GB, free: 8.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1971, allocations: 202.6 kB / 0.6437 GB, free: 8.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1971, allocations: 29.7 kB / 0.6437 GB, free: 8.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.1972, allocations: 155.9 kB / 0.6439 GB, free: 8.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.1972, allocations: 78.92 kB / 0.644 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1973, allocations: 57.61 kB / 0.644 GB, free: 7.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1975, allocations: 334.8 kB / 0.6443 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.1976, allocations: 111.9 kB / 0.6444 GB, free: 7.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1978, allocations: 169.9 kB / 0.6446 GB, free: 7.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1982, allocations: 293.3 kB / 0.6449 GB, free: 6.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1982, allocations: 0 / 0.6449 GB, free: 6.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007128/0.1989, allocations: 413.9 kB / 0.6453 GB, free: 6.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.199, allocations: 11.94 kB / 0.6453 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.199, allocations: 4 kB / 0.6453 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.1994, allocations: 104.9 kB / 0.6454 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.1996, allocations: 43.97 kB / 0.6454 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.2015, allocations: 1.875 MB / 0.6473 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.2017, allocations: 19.98 kB / 0.6473 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2017, allocations: 15.98 kB / 0.6473 GB, free: 4.32 MB / 494.1 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 0.0001521/0.2019, allocations: 149.8 kB / 0.6474 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.202, allocations: 23.8 kB / 0.6475 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.2024, allocations: 296.2 kB / 0.6478 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2024, allocations: 11.98 kB / 0.6478 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2024, allocations: 0 / 0.6478 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2025, allocations: 3.938 kB / 0.6478 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008271/0.2033, allocations: 0.7007 MB / 0.6485 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2033, allocations: 0 / 0.6485 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.2036, allocations: 63.77 kB / 0.6485 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2036, allocations: 4 kB / 0.6485 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2036, allocations: 12 kB / 0.6485 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2037, allocations: 4 kB / 0.6485 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2037, allocations: 0 / 0.6485 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.2042, allocations: 0.515 MB / 0.649 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.2043, allocations: 116.9 kB / 0.6491 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2044, allocations: 3.984 kB / 0.6492 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2046, allocations: 20.05 kB / 0.6492 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.2046, allocations: 15.88 kB / 0.6492 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2046, allocations: 8 kB / 0.6492 GB, free: 2.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.2047, allocations: 148 kB / 0.6493 GB, free: 2.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2048, allocations: 0 / 0.6493 GB, free: 2.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.2051, allocations: 68 kB / 0.6494 GB, free: 2.055 MB / 494.1 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.0001495/0.2053, allocations: 103.2 kB / 0.6495 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.206, allocations: 425.8 kB / 0.6499 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.206, allocations: 0 / 0.6499 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2062, allocations: 127.8 kB / 0.65 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.2066, allocations: 34.28 kB / 0.6501 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2077, allocations: 0.6232 MB / 0.6507 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.208, allocations: 0.7675 MB / 0.6514 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.2082, allocations: 65.89 kB / 0.6515 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.2083, allocations: 19.44 kB / 0.6515 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2083, allocations: 0 / 0.6515 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.005903/0.2142, allocations: 2.831 MB / 0.6543 GB, free: 13.01 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)