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.0008096/0.0008096, allocations: 84.48 kB / 19.91 MB, free: 4.633 MB / 18.57 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.0008107/0.0008107, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.884/0.884, 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.7368/0.7368, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.0009381/0.0009381, allocations: 67.89 kB / 0.6196 GB, free: 13.1 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.4836/0.4845, allocations: 101.9 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003496/0.488, allocations: 3.064 MB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4901, allocations: 1.682 MB / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.4902, allocations: 8.125 kB / 0.7238 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.4908, allocations: 342.2 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.4912, allocations: 213.6 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.4916, allocations: 174.8 kB / 0.7245 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.4919, allocations: 324.5 kB / 0.7248 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.4922, allocations: 173.7 kB / 0.7249 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.4925, allocations: 199.2 kB / 0.7251 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.4928, allocations: 160.7 kB / 0.7253 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.4928, allocations: 21.03 kB / 0.7253 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.4931, allocations: 222.9 kB / 0.7255 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.4933, allocations: 103.9 kB / 0.7256 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.4933, allocations: 101.1 kB / 0.7257 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.4939, allocations: 466.9 kB / 0.7261 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4939, allocations: 0 / 0.7261 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4939, allocations: 0 / 0.7261 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4939, allocations: 4 kB / 0.7261 GB, free: 19.5 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.0008368/0.4948, allocations: 483.9 kB / 0.7266 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4948, allocations: 9.219 kB / 0.7266 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/0.4953, allocations: 97.33 kB / 0.7267 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.4956, allocations: 196.4 kB / 0.7269 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4956, allocations: 17.52 kB / 0.7269 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4957, allocations: 29.89 kB / 0.7269 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.4962, allocations: 425.6 kB / 0.7273 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4962, allocations: 5.484 kB / 0.7274 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.4962, allocations: 9.094 kB / 0.7274 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.548e-05/0.4963, allocations: 35.61 kB / 0.7274 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.4967, allocations: 303.8 kB / 0.7277 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4978, allocations: 1.031 MB / 0.7287 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.4981, allocations: 218.3 kB / 0.7289 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4982, allocations: 109.6 kB / 0.729 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4983, allocations: 9.359 kB / 0.729 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4984, allocations: 33.33 kB / 0.729 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/0.4984, allocations: 1.25 kB / 0.729 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001063/0.4994, allocations: 0.7218 MB / 0.7298 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.4994, allocations: 53.81 kB / 0.7298 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4996, allocations: 190.2 kB / 0.73 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4996, allocations: 31.02 kB / 0.73 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.4997, allocations: 168.2 kB / 0.7302 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.4997, allocations: 70.38 kB / 0.7302 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.4998, allocations: 60.86 kB / 0.7303 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.4999, allocations: 328.8 kB / 0.7306 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.5, allocations: 114.5 kB / 0.7307 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.5002, allocations: 174.6 kB / 0.7309 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.5004, allocations: 298 kB / 0.7312 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5004, allocations: 3.938 kB / 0.7312 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00051/0.5009, allocations: 409.5 kB / 0.7316 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5009, allocations: 5.5 kB / 0.7316 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.501, allocations: 5.312 kB / 0.7316 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/0.5012, allocations: 108.2 kB / 0.7317 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.5014, allocations: 52.84 kB / 0.7317 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.5025, allocations: 1.742 MB / 0.7334 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.5026, allocations: 16.2 kB / 0.7334 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.5026, allocations: 8.734 kB / 0.7335 GB, free: 14.53 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.0001135/0.5028, allocations: 162 kB / 0.7336 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5028, allocations: 17.11 kB / 0.7336 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.5032, allocations: 302.3 kB / 0.7339 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5032, allocations: 1.453 kB / 0.7339 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5032, allocations: 5.406 kB / 0.7339 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.5032, allocations: 36.17 kB / 0.734 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.5033, allocations: 6.094 kB / 0.734 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.5034, allocations: 15.17 kB / 0.734 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.5034, allocations: 15 kB / 0.734 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004644/0.5039, allocations: 391.7 kB / 0.7344 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004682/0.5043, allocations: 0.5878 MB / 0.7349 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001284/0.5045, allocations: 105.9 kB / 0.735 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.501e-05/0.5045, allocations: 145.4 kB / 0.7352 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of Backend: time 4.91e-07/0.5045, allocations: 0 / 0.7352 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.5056, allocations: 0.4915 MB / 0.7357 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0009428/0.5065, allocations: 1.001 MB / 0.7366 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.008087/0.5146, allocations: 4.643 MB / 0.7412 GB, free: 11.94 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.356493653031066] Failed to read output from testmodel.py, exit status != 0: 0.5206515118479729 0.528989325 0.033162565000000005 Calling exit ...