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.002009/0.002009, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002618/0.002618, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.809 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.002645/0.002645, allocations: 275.8 kB / 312.7 MB, free: 2.605 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.258/1.258, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.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: 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.003129/0.003129, allocations: 105.8 kB / 0.74 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1739, allocations: 95.39 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00549/0.1794, allocations: 3.097 MB / 0.8362 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1827, allocations: 1.679 MB / 0.8378 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1829, allocations: 11.88 kB / 0.8378 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1841, allocations: 331.6 kB / 0.8381 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006472/0.1847, allocations: 219.1 kB / 0.8383 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.1853, allocations: 173.6 kB / 0.8385 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.1858, allocations: 323 kB / 0.8388 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.1862, allocations: 180.9 kB / 0.839 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1866, allocations: 147.5 kB / 0.8391 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1869, allocations: 155.4 kB / 0.8393 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.187, allocations: 20 kB / 0.8393 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.1875, allocations: 227.5 kB / 0.8395 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1876, allocations: 99.72 kB / 0.8396 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1878, allocations: 103.6 kB / 0.8397 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.1885, allocations: 434.4 kB / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1885, allocations: 0 / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1885, allocations: 0 / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.1885, allocations: 4 kB / 0.8401 GB, free: 0.6602 MB / 0.5762 GB 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.001085/0.1896, allocations: 481.4 kB / 0.8406 GB, free: 160 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1896, allocations: 12.75 kB / 0.8406 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.1904, allocations: 92.64 kB / 0.8407 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.1908, allocations: 196.6 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1908, allocations: 24.73 kB / 0.8409 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1909, allocations: 32.55 kB / 0.8409 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.1916, allocations: 420.1 kB / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1916, allocations: 4 kB / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1916, allocations: 4 kB / 0.8413 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1918, allocations: 32.41 kB / 0.8414 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.1923, allocations: 309.4 kB / 0.8417 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1941, allocations: 1.039 MB / 0.8427 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1946, allocations: 218.3 kB / 0.8429 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1947, allocations: 108.7 kB / 0.843 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1949, allocations: 8 kB / 0.843 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1949, allocations: 38.55 kB / 0.843 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1949, allocations: 0 / 0.843 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001353/0.1962, allocations: 0.7133 MB / 0.8437 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1963, allocations: 51.41 kB / 0.8438 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1965, allocations: 197.2 kB / 0.844 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1965, allocations: 33.7 kB / 0.844 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1967, allocations: 164.5 kB / 0.8441 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.1967, allocations: 75.42 kB / 0.8442 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1968, allocations: 53.66 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.197, allocations: 326.8 kB / 0.8446 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1972, allocations: 111.9 kB / 0.8447 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.1974, allocations: 169.9 kB / 0.8448 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.1979, allocations: 301.7 kB / 0.8451 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1979, allocations: 0 / 0.8451 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008277/0.1987, allocations: 410.9 kB / 0.8455 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1987, allocations: 11.94 kB / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1987, allocations: 0 / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.1992, allocations: 100.9 kB / 0.8456 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1994, allocations: 55.91 kB / 0.8457 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.2016, allocations: 1.742 MB / 0.8474 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.2018, allocations: 23.91 kB / 0.8474 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2019, allocations: 8 kB / 0.8474 GB, free: 8.785 MB / 0.5919 GB 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.0001823/0.202, allocations: 166.3 kB / 0.8476 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.2021, allocations: 15.91 kB / 0.8476 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.2026, allocations: 305.9 kB / 0.8479 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.2026, allocations: 0 / 0.8479 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.2026, allocations: 0 / 0.8479 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2026, allocations: 0 / 0.8479 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.2036, allocations: 0.6151 MB / 0.8485 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2036, allocations: 0 / 0.8485 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2039, allocations: 59.89 kB / 0.8485 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2039, allocations: 64 / 0.8485 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2039, allocations: 12 kB / 0.8486 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2039, allocations: 0 / 0.8486 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2039, allocations: 3.984 kB / 0.8486 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.2046, allocations: 0.5126 MB / 0.8491 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2047, allocations: 35.88 kB / 0.8491 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.2048, allocations: 8.062 kB / 0.8491 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.205, allocations: 15.98 kB / 0.8491 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.205, allocations: 23.78 kB / 0.8491 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.205, allocations: 8 kB / 0.8491 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001361/0.2052, allocations: 143.5 kB / 0.8493 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 4.062 kB / 0.8493 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003707/0.2055, allocations: 64 kB / 0.8493 GB, free: 6.734 MB / 0.5919 GB 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.0001538/0.2057, allocations: 99.25 kB / 0.8494 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007807/0.2065, allocations: 417.8 kB / 0.8498 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2065, allocations: 4.062 kB / 0.8498 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2066, allocations: 107.9 kB / 0.8499 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.207, allocations: 31.17 kB / 0.85 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2083, allocations: 0.6353 MB / 0.8506 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2085, allocations: 165.2 kB / 0.8508 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.2087, allocations: 57.91 kB / 0.8508 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.2088, allocations: 19.44 kB / 0.8508 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2088, allocations: 0 / 0.8508 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of Templates: time 0.007297/0.2161, allocations: 3.003 MB / 0.8538 GB, free: 2.184 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.454009745270014] Failed to read output from testmodel.py, exit status != 0: 0.22409230284392834 0.24011638200000002 0.048430097000000005 Calling exit ...