Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0008684/0.0008684, allocations: 80.44 kB / 19.91 MB, free: 4 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.0009683/0.0009683, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8942/0.8942, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7349/0.7349, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0009079/0.0009079, allocations: 79.81 kB / 0.6196 GB, free: 13.14 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.5035/0.5044, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002815/0.5072, allocations: 2.62 MB / 0.7217 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.5087, allocations: 1.436 MB / 0.7231 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.5088, allocations: 7.281 kB / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.5093, allocations: 227 kB / 0.7233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.5096, allocations: 188.7 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.5098, allocations: 148.5 kB / 0.7236 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.51, allocations: 243.8 kB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.5102, allocations: 139.8 kB / 0.724 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.5104, allocations: 146.2 kB / 0.7241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.5106, allocations: 117.5 kB / 0.7242 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.5106, allocations: 15.56 kB / 0.7242 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.5109, allocations: 207.1 kB / 0.7244 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.5109, allocations: 75.95 kB / 0.7245 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.511, allocations: 84 kB / 0.7246 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.5114, allocations: 362.8 kB / 0.7249 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5114, allocations: 0 / 0.7249 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5114, allocations: 1.188 kB / 0.7249 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.5114, allocations: 0 / 0.7249 GB, free: 20.19 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005173/0.5119, allocations: 425 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5119, allocations: 7.906 kB / 0.7254 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.5123, allocations: 77.94 kB / 0.7254 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.5125, allocations: 178.5 kB / 0.7256 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5125, allocations: 20.16 kB / 0.7256 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.5125, allocations: 14.5 kB / 0.7256 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.5129, allocations: 357.2 kB / 0.726 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5129, allocations: 5.094 kB / 0.726 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.5129, allocations: 7.062 kB / 0.726 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.513, allocations: 22.64 kB / 0.726 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.5132, allocations: 247.5 kB / 0.7262 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.5141, allocations: 1.262 MB / 0.7275 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.5144, allocations: 249.1 kB / 0.7277 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.5145, allocations: 79.81 kB / 0.7278 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.5146, allocations: 14.97 kB / 0.7278 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.5146, allocations: 33.89 kB / 0.7278 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.5146, allocations: 0 / 0.7278 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004863/0.5151, allocations: 315.3 kB / 0.7281 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.471e-05/0.5151, allocations: 83.94 kB / 0.7282 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5152, allocations: 176.6 kB / 0.7284 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.5152, allocations: 26.83 kB / 0.7284 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.5153, allocations: 154.1 kB / 0.7286 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5153, allocations: 54.16 kB / 0.7286 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.5154, allocations: 49.42 kB / 0.7287 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.5154, allocations: 322.9 kB / 0.729 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.5155, allocations: 93.98 kB / 0.7291 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5156, allocations: 162.2 kB / 0.7292 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.5158, allocations: 264.1 kB / 0.7295 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5158, allocations: 1.062 kB / 0.7295 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002787/0.5161, allocations: 275.8 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5161, allocations: 9.469 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5161, allocations: 2.562 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5161, allocations: 3.406 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5163, allocations: 56.95 kB / 0.7298 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5163, allocations: 15.78 kB / 0.7298 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.5164, allocations: 24.17 kB / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.5164, allocations: 13.58 kB / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001176/0.5165, allocations: 179 kB / 0.73 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001021/0.5166, allocations: 151.3 kB / 0.7302 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001785/0.5168, allocations: 232.4 kB / 0.7304 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.5168, allocations: 1.094 kB / 0.7304 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002455/0.517, allocations: 265.9 kB / 0.7306 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.5171, allocations: 7.312 kB / 0.7306 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5171, allocations: 6.484 kB / 0.7306 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.5171, allocations: 4.844 kB / 0.7307 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.5172, allocations: 58.22 kB / 0.7307 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5172, allocations: 4.469 kB / 0.7307 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.5173, allocations: 25.08 kB / 0.7307 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.5173, allocations: 11.95 kB / 0.7307 GB, free: 16.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.5173, allocations: 192.9 kB / 0.7309 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5174, allocations: 14.62 kB / 0.7309 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.5176, allocations: 201.9 kB / 0.7311 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5176, allocations: 4.734 kB / 0.7311 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.5176, allocations: 5.125 kB / 0.7311 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.5176, allocations: 35.69 kB / 0.7312 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.5177, allocations: 1.156 kB / 0.7312 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.5177, allocations: 18.03 kB / 0.7312 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.5178, allocations: 12.11 kB / 0.7312 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000188/0.518, allocations: 334.3 kB / 0.7315 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001852/0.5181, allocations: 436.4 kB / 0.7319 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.097e-05/0.5182, allocations: 69.02 kB / 0.732 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.5183, allocations: 130.3 kB / 0.7321 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.5183, allocations: 1.375 kB / 0.7321 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006774/0.519, allocations: 422.5 kB / 0.7325 GB, free: 15 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005189/0.5195, allocations: 0.7849 MB / 0.7333 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.005824/0.5253, allocations: 3.98 MB / 0.7372 GB, free: 13.93 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.37279675481841] Failed to read output from testmodel.py, exit status != 0: 0.530744711169973 0.540006718 0.026844818000000003 Calling exit ...