Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007075/0.0007075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009709/0.001678, 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.0007161/0.0007161, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009435/0.00166, 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.9829/0.9829, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0921/1.075, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7469/0.7469, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2709/1.018, allocations: 49.04 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.554e-05, allocations: 4.984 kB / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004479/0.004504, allocations: 2.575 MB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.006758, allocations: 1.281 MB / 453 MB, free: 1.484 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.006934, allocations: 4.75 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.007402, allocations: 119.8 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.007932, allocations: 202.7 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.008436, allocations: 164.3 kB / 453.5 MB, free: 1.012 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.008928, allocations: 354.8 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.009252, allocations: 167.7 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.009644, allocations: 215.4 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.01006, allocations: 176.5 kB / 454.4 MB, free: 116 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.0101, allocations: 20.69 kB / 454.4 MB, free: 96 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.01051, allocations: 160.7 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.01064, allocations: 95.77 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.01073, allocations: 71.81 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.01121, allocations: 276 kB / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.01122, allocations: 4 kB / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01122, allocations: 0 / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.01124, allocations: 0.625 kB / 455 MB, free: 15.5 MB / 442.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.0009154/0.01216, allocations: 0.495 MB / 455.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.0122, allocations: 13.19 kB / 455.5 MB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.0129, allocations: 197.8 kB / 455.7 MB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.01315, allocations: 183.6 kB / 455.9 MB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.01317, allocations: 24.86 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.01325, allocations: 20.56 kB / 455.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.01353, allocations: 279.8 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01354, allocations: 10.89 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.01356, allocations: 8.125 kB / 456.2 MB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.01362, allocations: 32.47 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.01374, allocations: 80.08 kB / 456.3 MB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.01454, allocations: 0.8365 MB / 457.1 MB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.01472, allocations: 163.9 kB / 457.3 MB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.01476, allocations: 36.84 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.236e-05/0.01482, allocations: 10.77 kB / 457.4 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.01485, allocations: 34.56 kB / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.01485, allocations: 0 / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005917/0.01544, allocations: 370.8 kB / 457.8 MB, free: 12.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.01546, allocations: 55.97 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01557, allocations: 178.5 kB / 458 MB, free: 12.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01558, allocations: 26.92 kB / 458 MB, free: 12.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.01564, allocations: 172.4 kB / 458.2 MB, free: 12.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.01568, allocations: 71.41 kB / 458.2 MB, free: 12.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.01574, allocations: 50.39 kB / 458.3 MB, free: 11.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.01581, allocations: 330.8 kB / 458.6 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.01585, allocations: 32.42 kB / 458.6 MB, free: 11.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.01592, allocations: 87.17 kB / 458.7 MB, free: 11.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.01606, allocations: 153.7 kB / 458.9 MB, free: 11.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01606, allocations: 4.562 kB / 458.9 MB, free: 11.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002833/0.01634, allocations: 201.6 kB / 459.1 MB, free: 11.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01636, allocations: 8 kB / 459.1 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01636, allocations: 0 / 459.1 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.01672, allocations: 112.6 kB / 459.2 MB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01685, allocations: 53.28 kB / 459.3 MB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009383/0.01779, allocations: 1.345 MB / 460.6 MB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.01788, allocations: 9.812 kB / 460.6 MB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.0179, allocations: 11.98 kB / 460.6 MB, free: 9.512 MB / 442.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.66e-05/0.01798, allocations: 124.6 kB / 460.7 MB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.01801, allocations: 16.86 kB / 460.8 MB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.01821, allocations: 145.9 kB / 460.9 MB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.01821, allocations: 0 / 460.9 MB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01821, allocations: 0 / 460.9 MB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01822, allocations: 4.688 kB / 460.9 MB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.01856, allocations: 398.3 kB / 461.3 MB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01857, allocations: 1.438 kB / 461.3 MB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.01876, allocations: 76.06 kB / 461.4 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.0188, allocations: 35.81 kB / 461.4 MB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.0188, allocations: 0.9375 kB / 461.4 MB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01881, allocations: 8 kB / 461.4 MB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01881, allocations: 1.156 kB / 461.4 MB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01881, allocations: 7.984 kB / 461.4 MB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01902, allocations: 306.7 kB / 461.7 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01904, allocations: 8 kB / 461.7 MB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.01911, allocations: 7.984 kB / 461.7 MB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.01913, allocations: 12.58 kB / 461.8 MB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01914, allocations: 6.688 kB / 461.8 MB, free: 8.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.01918, allocations: 49.81 kB / 461.8 MB, free: 8.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01918, allocations: 0 / 461.8 MB, free: 8.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.01936, allocations: 67.94 kB / 461.9 MB, free: 8.203 MB / 442.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.0001333/0.0195, allocations: 89.22 kB / 462 MB, free: 8.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.0198, allocations: 278.9 kB / 462.2 MB, free: 7.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.078e-06/0.01981, allocations: 5.875 kB / 462.2 MB, free: 7.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.01988, allocations: 64.77 kB / 462.3 MB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.02015, allocations: 251.9 kB / 462.5 MB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.02231, allocations: 0.5216 MB / 463.1 MB, free: 6.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.02237, allocations: 110.1 kB / 463.2 MB, free: 6.789 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.674e-05/0.02245, allocations: 26.06 kB / 463.2 MB, free: 6.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.02256, allocations: 80.42 kB / 463.3 MB, free: 6.691 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02256, allocations: 0 / 463.3 MB, free: 6.691 MB / 442.7 MB Notification: Performance of Templates: time 0.004466/0.02703, allocations: 3.056 MB / 466.3 MB, free: 3.801 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.563258030451834]