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.0009361/0.0009361, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009462/0.0009462, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9961/0.9961, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.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.7834/0.7834, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 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. " [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.243e-06/1.243e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.167e-05, allocations: 3.438 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00291/0.002932, allocations: 2.483 MB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.00455, allocations: 1.244 MB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.004659, allocations: 4 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.005083, allocations: 104.8 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005405, allocations: 182.9 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.005707, allocations: 170.3 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.005999, allocations: 330.4 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.00627, allocations: 177 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.006503, allocations: 189 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.006733, allocations: 155.5 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.006761, allocations: 20 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.006968, allocations: 163 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.007061, allocations: 111.7 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.007136, allocations: 87.75 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.007453, allocations: 291.1 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.007455, allocations: 0 / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.007456, allocations: 0 / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.00746, allocations: 0 / 0.5258 GB, free: 12.54 MB / 0.4948 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.0006538/0.008114, allocations: 0.5745 MB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.00815, allocations: 12.03 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.008627, allocations: 137.1 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.008848, allocations: 201.7 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008864, allocations: 20.81 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.008948, allocations: 33.97 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.009263, allocations: 303.2 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.009275, allocations: 4.188 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.009297, allocations: 9.062 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.009363, allocations: 36.41 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.009551, allocations: 123.8 kB / 0.5272 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01055, allocations: 1.195 MB / 0.5284 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.01078, allocations: 142.9 kB / 0.5286 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.01085, allocations: 50.2 kB / 0.5286 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.01093, allocations: 8 kB / 0.5286 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.01096, allocations: 45.38 kB / 0.5286 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.01096, allocations: 0 / 0.5286 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.000696/0.01165, allocations: 457.6 kB / 0.5291 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.01168, allocations: 54.16 kB / 0.5291 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01181, allocations: 238.3 kB / 0.5294 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01183, allocations: 29.7 kB / 0.5294 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.01191, allocations: 211.2 kB / 0.5296 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.01195, allocations: 71.42 kB / 0.5297 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.01202, allocations: 63.31 kB / 0.5297 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01213, allocations: 0.504 MB / 0.5302 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.0122, allocations: 41.11 kB / 0.5303 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.0123, allocations: 125.7 kB / 0.5304 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.01248, allocations: 191 kB / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01248, allocations: 0.6562 kB / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003767/0.01285, allocations: 272.5 kB / 0.5308 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01287, allocations: 4 kB / 0.5308 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01287, allocations: 4 kB / 0.5308 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.01323, allocations: 108.5 kB / 0.5309 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.01337, allocations: 51.89 kB / 0.531 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.01442, allocations: 1.928 MB / 0.5329 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.01451, allocations: 15.98 kB / 0.5329 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01453, allocations: 11.98 kB / 0.5329 GB, free: 4.883 MB / 0.4948 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 8.042e-05/0.01461, allocations: 171.7 kB / 0.5331 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.01464, allocations: 19.84 kB / 0.5331 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.01491, allocations: 189.5 kB / 0.5333 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01491, allocations: 4 kB / 0.5333 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.01491, allocations: 0 / 0.5333 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01492, allocations: 0 / 0.5333 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.01536, allocations: 0.5334 MB / 0.5338 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01536, allocations: 0 / 0.5338 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.01552, allocations: 63.89 kB / 0.5338 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.01552, allocations: 0 / 0.5338 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01553, allocations: 4 kB / 0.5338 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01553, allocations: 0 / 0.5338 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01554, allocations: 7.984 kB / 0.5338 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.01581, allocations: 378.7 kB / 0.5342 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.01587, allocations: 35.88 kB / 0.5342 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01588, allocations: 8 kB / 0.5343 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.01597, allocations: 15.98 kB / 0.5343 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.01599, allocations: 7.984 kB / 0.5343 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.016, allocations: 7.938 kB / 0.5343 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.268e-05/0.01607, allocations: 174.1 kB / 0.5344 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01607, allocations: 0 / 0.5344 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002157/0.01629, allocations: 64 kB / 0.5345 GB, free: 3.145 MB / 0.4948 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.0001075/0.0164, allocations: 108.3 kB / 0.5346 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.01692, allocations: 359.5 kB / 0.535 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01692, allocations: 0 / 0.535 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.017, allocations: 76.19 kB / 0.535 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01724, allocations: 37.22 kB / 0.5351 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.01817, allocations: 0.5414 MB / 0.5356 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.01823, allocations: 105.4 kB / 0.5357 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.979e-05/0.01832, allocations: 50 kB / 0.5357 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.01837, allocations: 16.5 kB / 0.5358 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.01837, allocations: 3.938 kB / 0.5358 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of Templates: time 0.004437/0.02281, allocations: 2.801 MB / 0.5385 GB, free: 15.16 MB / 0.5105 GB " [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.947146264836192]