Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 114.9 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 195.7 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.21/1.21, allocations: 173.4 MB / 471.3 MB, free: 6.59 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 63.95 kB / 0.649 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1816, allocations: 89.52 MB / 0.7364 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004683/0.1863, allocations: 3.08 MB / 0.7394 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1891, allocations: 1.706 MB / 0.7411 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1893, allocations: 4 kB / 0.7411 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00099/0.1903, allocations: 346.6 kB / 0.7414 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.1908, allocations: 215.1 kB / 0.7416 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1913, allocations: 187.5 kB / 0.7418 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.1917, allocations: 311 kB / 0.7421 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.1921, allocations: 236.7 kB / 0.7423 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1923, allocations: 135.5 kB / 0.7424 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.1927, allocations: 167.4 kB / 0.7426 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1927, allocations: 20 kB / 0.7426 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.1932, allocations: 239.5 kB / 0.7428 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1933, allocations: 103.8 kB / 0.7429 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1935, allocations: 119.4 kB / 0.7431 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.194, allocations: 430.5 kB / 0.7435 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1941, allocations: 0 / 0.7435 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1941, allocations: 0 / 0.7435 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1941, allocations: 4 kB / 0.7435 GB, free: 12.35 MB / 0.5606 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.0009503/0.195, allocations: 0.5454 MB / 0.744 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1951, allocations: 12.03 kB / 0.744 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.1958, allocations: 96.69 kB / 0.7441 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.1962, allocations: 263.8 kB / 0.7444 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1963, allocations: 24.81 kB / 0.7444 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1964, allocations: 24.5 kB / 0.7444 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.197, allocations: 373.2 kB / 0.7448 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1971, allocations: 3.938 kB / 0.7448 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.1971, allocations: 11.98 kB / 0.7448 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.1972, allocations: 28.42 kB / 0.7448 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.1977, allocations: 309.5 kB / 0.7451 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1996, allocations: 1.518 MB / 0.7466 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.2001, allocations: 234.3 kB / 0.7468 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.2003, allocations: 112.8 kB / 0.7469 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.2004, allocations: 89.09 kB / 0.747 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2005, allocations: 34.56 kB / 0.747 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 5.1e-06/0.2005, allocations: 8 kB / 0.747 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001372/0.2019, allocations: 0.7953 MB / 0.7478 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2019, allocations: 55.41 kB / 0.7479 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2021, allocations: 199.8 kB / 0.7481 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2022, allocations: 29.7 kB / 0.7481 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2023, allocations: 164.2 kB / 0.7482 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.2024, allocations: 75.38 kB / 0.7483 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2025, allocations: 57.62 kB / 0.7484 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2026, allocations: 338.7 kB / 0.7487 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2028, allocations: 115.9 kB / 0.7488 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.203, allocations: 163 kB / 0.749 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2034, allocations: 289.9 kB / 0.7492 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2035, allocations: 4 kB / 0.7492 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007822/0.2042, allocations: 421.3 kB / 0.7496 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2043, allocations: 4 kB / 0.7496 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2043, allocations: 7.984 kB / 0.7497 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.2048, allocations: 100.8 kB / 0.7498 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.205, allocations: 51.95 kB / 0.7498 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.2071, allocations: 1.871 MB / 0.7516 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2074, allocations: 24.05 kB / 0.7517 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2074, allocations: 8 kB / 0.7517 GB, free: 3.375 MB / 0.5606 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.000177/0.2076, allocations: 154.4 kB / 0.7518 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.2077, allocations: 27.86 kB / 0.7518 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.2082, allocations: 295.3 kB / 0.7521 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2082, allocations: 0 / 0.7521 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.2082, allocations: 0 / 0.7521 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2082, allocations: 3.938 kB / 0.7521 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.2092, allocations: 0.7014 MB / 0.7528 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2092, allocations: 0 / 0.7528 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.2095, allocations: 63.89 kB / 0.7529 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2095, allocations: 0 / 0.7529 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2096, allocations: 11.92 kB / 0.7529 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2096, allocations: 0 / 0.7529 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2096, allocations: 3.984 kB / 0.7529 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.2102, allocations: 0.522 MB / 0.7534 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2104, allocations: 121 kB / 0.7535 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.2104, allocations: 8 kB / 0.7535 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2106, allocations: 7.984 kB / 0.7535 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2106, allocations: 15.98 kB / 0.7535 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2106, allocations: 7.938 kB / 0.7535 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001467/0.2108, allocations: 148.6 kB / 0.7537 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2108, allocations: 4.062 kB / 0.7537 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003632/0.2112, allocations: 67.94 kB / 0.7538 GB, free: 1.109 MB / 0.5606 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.0001559/0.2113, allocations: 111.2 kB / 0.7539 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007704/0.2121, allocations: 434.6 kB / 0.7543 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2121, allocations: 3.938 kB / 0.7543 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2123, allocations: 119.8 kB / 0.7544 GB, free: 440 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2127, allocations: 41.98 kB / 0.7544 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2139, allocations: 0.6603 MB / 0.7551 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2144, allocations: 0.7716 MB / 0.7558 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.2145, allocations: 27.44 kB / 0.7559 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.2145, allocations: 0 / 0.7559 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.00605/0.2205, allocations: 3.605 MB / 0.7594 GB, free: 11.27 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.417912602191791] Failed to read output from testmodel.py, exit status != 0: 0.22813144302926958 0.24083484400000002 0.044078569000000005 Calling exit ...