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.0008024/0.0008024, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007844/0.0007844, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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.8633/0.8633, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7504/0.7504, allocations: 203.5 MB / 0.5046 GB, free: 10.75 MB / 410.7 MB " [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.0008998/0.0008998, allocations: 75.89 kB / 0.719 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4817, allocations: 102 MB / 0.8186 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003185/0.4849, allocations: 3.081 MB / 0.8216 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4868, allocations: 1.699 MB / 0.8233 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.4869, allocations: 3.906 kB / 0.8233 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.4876, allocations: 331.2 kB / 0.8236 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.4879, allocations: 209.5 kB / 0.8238 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.4882, allocations: 191.5 kB / 0.824 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.4885, allocations: 320.1 kB / 0.8243 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.4888, allocations: 168.5 kB / 0.8244 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.489, allocations: 144.6 kB / 0.8246 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.4893, allocations: 161.7 kB / 0.8247 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4893, allocations: 20.28 kB / 0.8247 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.4895, allocations: 229.7 kB / 0.825 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4897, allocations: 109.6 kB / 0.8251 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.4897, allocations: 97.81 kB / 0.8252 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.4902, allocations: 425.4 kB / 0.8256 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4902, allocations: 0 / 0.8256 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4902, allocations: 0 / 0.8256 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.4902, allocations: 3.938 kB / 0.8256 GB, free: 13.46 MB / 0.6198 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.0007224/0.491, allocations: 487.6 kB / 0.826 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.491, allocations: 10.34 kB / 0.826 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.4915, allocations: 99.69 kB / 0.8261 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.4917, allocations: 201.2 kB / 0.8263 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4917, allocations: 17.17 kB / 0.8264 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.4918, allocations: 25.62 kB / 0.8264 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.4923, allocations: 425.6 kB / 0.8268 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4923, allocations: 0 / 0.8268 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.4923, allocations: 10.78 kB / 0.8268 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.4924, allocations: 30.61 kB / 0.8268 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.4927, allocations: 308.7 kB / 0.8271 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4939, allocations: 1.041 MB / 0.8281 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.4942, allocations: 206.3 kB / 0.8283 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4943, allocations: 109.8 kB / 0.8284 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.4944, allocations: 9.844 kB / 0.8284 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4944, allocations: 34.22 kB / 0.8285 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.4944, allocations: 4 kB / 0.8285 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.000933/0.4953, allocations: 0.7288 MB / 0.8292 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4954, allocations: 54.83 kB / 0.8292 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4955, allocations: 188 kB / 0.8294 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4955, allocations: 27.08 kB / 0.8294 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.4956, allocations: 171 kB / 0.8296 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4956, allocations: 69.47 kB / 0.8297 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.4957, allocations: 61.83 kB / 0.8297 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.4958, allocations: 325 kB / 0.83 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4959, allocations: 115.4 kB / 0.8302 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.4961, allocations: 169.2 kB / 0.8303 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.4965, allocations: 299.3 kB / 0.8306 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4965, allocations: 0.5625 kB / 0.8306 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00069/0.4972, allocations: 412.5 kB / 0.831 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4972, allocations: 10.23 kB / 0.831 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4972, allocations: 1.438 kB / 0.831 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.4975, allocations: 100.7 kB / 0.8311 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4977, allocations: 55.42 kB / 0.8312 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.4994, allocations: 1.735 MB / 0.8329 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4995, allocations: 19.8 kB / 0.8329 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.4995, allocations: 16.05 kB / 0.8329 GB, free: 8.477 MB / 0.6198 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.0001465/0.4997, allocations: 160.9 kB / 0.833 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4997, allocations: 16.59 kB / 0.8331 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.5001, allocations: 295.1 kB / 0.8333 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5001, allocations: 1.859 kB / 0.8333 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5001, allocations: 5.25 kB / 0.8333 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5001, allocations: 1.359 kB / 0.8333 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.5007, allocations: 0.6135 MB / 0.8339 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5007, allocations: 1.156 kB / 0.8339 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.5009, allocations: 58.05 kB / 0.834 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5009, allocations: 2.312 kB / 0.834 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.5009, allocations: 6.875 kB / 0.834 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5009, allocations: 6.359 kB / 0.834 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5009, allocations: 0.6562 kB / 0.834 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.5014, allocations: 0.5157 MB / 0.8345 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5015, allocations: 37.91 kB / 0.8346 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5015, allocations: 10.98 kB / 0.8346 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.5016, allocations: 15.2 kB / 0.8346 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.5016, allocations: 15.66 kB / 0.8346 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.5017, allocations: 3.844 kB / 0.8346 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.973e-05/0.5017, allocations: 143.6 kB / 0.8347 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5017, allocations: 0 / 0.8347 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002388/0.502, allocations: 66 kB / 0.8348 GB, free: 7.355 MB / 0.6198 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.0001225/0.5021, allocations: 110.1 kB / 0.8349 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005934/0.5027, allocations: 415.3 kB / 0.8353 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5027, allocations: 1.312 kB / 0.8353 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5028, allocations: 110 kB / 0.8354 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.5031, allocations: 32.88 kB / 0.8354 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.504, allocations: 0.6761 MB / 0.8361 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.5041, allocations: 172.2 kB / 0.8363 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.5042, allocations: 21.47 kB / 0.8363 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.5042, allocations: 1 kB / 0.8363 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of Templates: time 0.004582/0.5088, allocations: 3.652 MB / 0.8399 GB, free: 5.348 MB / 0.6198 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: 6.121787400916219] Failed to read output from testmodel.py, exit status != 0: 0.5140355238690972 0.523017508 0.030942030000000002 Calling exit ...