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.0007689/0.0007689, allocations: 76.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.0008616/0.0008616, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.938/0.938, 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.7625/0.7625, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.0009069/0.0009069, allocations: 75.89 kB / 0.6195 GB, free: 13.15 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.4717/0.4726, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003184/0.4758, allocations: 3.058 MB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.4776, allocations: 1.687 MB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4777, allocations: 4.219 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.4784, allocations: 341.8 kB / 0.7241 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.4787, allocations: 214.1 kB / 0.7243 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.4791, allocations: 182.8 kB / 0.7244 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.4794, allocations: 324.7 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.4798, allocations: 173.2 kB / 0.7249 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.48, allocations: 195.1 kB / 0.7251 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.4803, allocations: 165.2 kB / 0.7253 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.4804, allocations: 21 kB / 0.7253 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.4806, allocations: 213.3 kB / 0.7255 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4808, allocations: 104.6 kB / 0.7256 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.4808, allocations: 101.2 kB / 0.7257 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.4813, allocations: 432.7 kB / 0.7261 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4813, allocations: 0 / 0.7261 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4814, allocations: 4 kB / 0.7261 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.4814, allocations: 1.406 kB / 0.7261 GB, free: 19.55 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.0007163/0.4821, allocations: 490.8 kB / 0.7266 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4821, allocations: 9.859 kB / 0.7266 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.4827, allocations: 97.56 kB / 0.7267 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.483, allocations: 195.1 kB / 0.7268 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.483, allocations: 21.45 kB / 0.7269 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4831, allocations: 33.86 kB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.4836, allocations: 426.4 kB / 0.7273 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4836, allocations: 0 / 0.7273 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.4836, allocations: 10.97 kB / 0.7273 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-05/0.4837, allocations: 27.05 kB / 0.7273 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.4841, allocations: 307.4 kB / 0.7276 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4853, allocations: 1.042 MB / 0.7287 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.4858, allocations: 205.9 kB / 0.7289 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4859, allocations: 110.8 kB / 0.729 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.486, allocations: 13.38 kB / 0.729 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4861, allocations: 36.73 kB / 0.729 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.4861, allocations: 1.5 kB / 0.729 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001095/0.4872, allocations: 0.7174 MB / 0.7297 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.4872, allocations: 54.61 kB / 0.7298 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4873, allocations: 195.5 kB / 0.7299 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4873, allocations: 25.7 kB / 0.73 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.4874, allocations: 171.6 kB / 0.7301 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.4874, allocations: 66.06 kB / 0.7302 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.4875, allocations: 61.73 kB / 0.7303 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.4875, allocations: 324.2 kB / 0.7306 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4877, allocations: 115.6 kB / 0.7307 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4878, allocations: 165.8 kB / 0.7308 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.4881, allocations: 306.5 kB / 0.7311 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4881, allocations: 0 / 0.7311 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005248/0.4886, allocations: 411.8 kB / 0.7315 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4886, allocations: 10.81 kB / 0.7315 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4886, allocations: 2.172 kB / 0.7315 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.489, allocations: 103.6 kB / 0.7316 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4891, allocations: 56.69 kB / 0.7317 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.4905, allocations: 1.734 MB / 0.7334 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4906, allocations: 16.22 kB / 0.7334 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4906, allocations: 11.86 kB / 0.7334 GB, free: 14.57 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.0001047/0.4907, allocations: 161.8 kB / 0.7336 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4908, allocations: 16.19 kB / 0.7336 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.4911, allocations: 308.3 kB / 0.7339 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4911, allocations: 1.5 kB / 0.7339 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.4911, allocations: 0.6562 kB / 0.7339 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4911, allocations: 2.25 kB / 0.7339 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.4916, allocations: 0.614 MB / 0.7345 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4917, allocations: 0.8906 kB / 0.7345 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.4918, allocations: 54.16 kB / 0.7345 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4918, allocations: 5.438 kB / 0.7345 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4918, allocations: 11.3 kB / 0.7345 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4918, allocations: 2.031 kB / 0.7345 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4918, allocations: 1.375 kB / 0.7345 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.4923, allocations: 0.5199 MB / 0.7351 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.4923, allocations: 37.28 kB / 0.7351 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.4923, allocations: 7.406 kB / 0.7351 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.4924, allocations: 14.36 kB / 0.7351 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4925, allocations: 15.41 kB / 0.7351 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4925, allocations: 5.969 kB / 0.7351 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.4925, allocations: 143.7 kB / 0.7353 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4925, allocations: 0 / 0.7353 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002416/0.4928, allocations: 66.5 kB / 0.7353 GB, free: 13.45 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.0001157/0.4929, allocations: 106.6 kB / 0.7354 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.4934, allocations: 412.5 kB / 0.7358 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4934, allocations: 0 / 0.7358 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4935, allocations: 112 kB / 0.7359 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4938, allocations: 35.47 kB / 0.736 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.4945, allocations: 0.6382 MB / 0.7366 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4947, allocations: 163.9 kB / 0.7367 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.4948, allocations: 54.7 kB / 0.7368 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.4948, allocations: 24.98 kB / 0.7368 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of SimCode: time 6.02e-07/0.4948, allocations: 0 / 0.7368 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.004832/0.4997, allocations: 2.77 MB / 0.7395 GB, free: 12.3 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.397880497970618] Failed to read output from testmodel.py, exit status != 0: 0.5048678950406611 0.5130133800000001 0.029860547 Calling exit ...