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.0008142/0.0008142, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009814/0.0009814, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8867/0.8867, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.738/0.738, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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: IDEAS 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.0008529/0.0008529, allocations: 63.91 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4704/0.4712, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003926/0.4751, allocations: 3.052 MB / 0.7221 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4773, allocations: 1.686 MB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.4774, allocations: 4.812 kB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.4782, allocations: 338.1 kB / 0.7241 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.4788, allocations: 217.7 kB / 0.7243 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.4791, allocations: 182.1 kB / 0.7244 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.4795, allocations: 329.1 kB / 0.7248 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.4798, allocations: 170.3 kB / 0.7249 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.48, allocations: 190.7 kB / 0.7251 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.4804, allocations: 165.7 kB / 0.7253 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.4804, allocations: 20.28 kB / 0.7253 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.4808, allocations: 217.1 kB / 0.7255 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.481, allocations: 106 kB / 0.7256 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.4811, allocations: 104.9 kB / 0.7257 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.4817, allocations: 428.2 kB / 0.7261 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4817, allocations: 4 kB / 0.7261 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4817, allocations: 1.438 kB / 0.7261 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.4817, allocations: 0 / 0.7261 GB, free: 19.57 MB / 0.6355 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.0008973/0.4826, allocations: 491 kB / 0.7266 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4827, allocations: 14 kB / 0.7266 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.4832, allocations: 96.34 kB / 0.7267 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.4836, allocations: 200.8 kB / 0.7269 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4836, allocations: 13.12 kB / 0.7269 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4837, allocations: 30.78 kB / 0.7269 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.4843, allocations: 425.6 kB / 0.7273 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.4843, allocations: 0 / 0.7273 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.4843, allocations: 11.48 kB / 0.7273 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-05/0.4844, allocations: 30.41 kB / 0.7273 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.4848, allocations: 304.6 kB / 0.7276 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.486, allocations: 1.037 MB / 0.7287 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.4863, allocations: 211.3 kB / 0.7289 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4864, allocations: 110.6 kB / 0.729 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.4865, allocations: 13.41 kB / 0.729 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4865, allocations: 36.81 kB / 0.729 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.4865, allocations: 0 / 0.729 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001072/0.4876, allocations: 0.7199 MB / 0.7297 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4876, allocations: 57.81 kB / 0.7298 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4878, allocations: 191.4 kB / 0.7299 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4878, allocations: 26.73 kB / 0.73 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.4879, allocations: 170.7 kB / 0.7301 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4879, allocations: 66.83 kB / 0.7302 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.488, allocations: 60.95 kB / 0.7303 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.4881, allocations: 325.7 kB / 0.7306 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4882, allocations: 114.5 kB / 0.7307 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4884, allocations: 169.4 kB / 0.7308 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.4887, allocations: 302.9 kB / 0.7311 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4887, allocations: 1.906 kB / 0.7311 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005333/0.4892, allocations: 407.2 kB / 0.7315 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4892, allocations: 13.62 kB / 0.7315 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4892, allocations: 5.312 kB / 0.7315 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/0.4895, allocations: 100.2 kB / 0.7316 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4897, allocations: 52.38 kB / 0.7317 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.4908, allocations: 1.739 MB / 0.7334 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4909, allocations: 15.05 kB / 0.7334 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4909, allocations: 13.12 kB / 0.7334 GB, free: 14.59 MB / 0.6355 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.0001052/0.491, allocations: 161.9 kB / 0.7336 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4911, allocations: 20.25 kB / 0.7336 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.4914, allocations: 297.3 kB / 0.7339 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4914, allocations: 2.75 kB / 0.7339 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4914, allocations: 0.6094 kB / 0.7339 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4914, allocations: 0.7031 kB / 0.7339 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.492, allocations: 0.6187 MB / 0.7345 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.492, allocations: 0.8438 kB / 0.7345 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.4922, allocations: 63.06 kB / 0.7345 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.4922, allocations: 1.312 kB / 0.7345 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4922, allocations: 7.344 kB / 0.7345 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4922, allocations: 2.016 kB / 0.7345 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4922, allocations: 1.469 kB / 0.7345 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.4926, allocations: 0.5173 MB / 0.735 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.4927, allocations: 38.28 kB / 0.7351 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4927, allocations: 7.047 kB / 0.7351 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.4928, allocations: 14.56 kB / 0.7351 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4928, allocations: 15.86 kB / 0.7351 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4928, allocations: 9.688 kB / 0.7351 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.468e-05/0.4929, allocations: 139.6 kB / 0.7353 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4929, allocations: 0 / 0.7353 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002428/0.4931, allocations: 65.75 kB / 0.7353 GB, free: 13.47 MB / 0.6355 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.0001002/0.4932, allocations: 106.6 kB / 0.7354 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.4937, allocations: 417 kB / 0.7358 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4937, allocations: 0 / 0.7358 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4938, allocations: 110.5 kB / 0.7359 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4941, allocations: 33.58 kB / 0.736 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.4949, allocations: 0.6354 MB / 0.7366 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.495, allocations: 164.5 kB / 0.7367 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.4952, allocations: 58.28 kB / 0.7368 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.4952, allocations: 25.5 kB / 0.7368 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4952, allocations: 0 / 0.7368 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.004988/0.5002, allocations: 2.779 MB / 0.7395 GB, free: 12.32 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.333607389009558] Failed to read output from testmodel.py, exit status != 0: 0.5063574369996786 0.5187306589999999 0.034815452000000004 Calling exit ...