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.001616/0.001616, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001638/0.001638, allocations: 215.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 1.436/1.436, allocations: 203.5 MB / 0.5038 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 178] 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.002145/0.002145, allocations: 67.91 kB / 0.7183 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6225/0.6247, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004873/0.6295, allocations: 3.068 MB / 0.8209 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.6327, allocations: 1.707 MB / 0.8225 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.6329, allocations: 8.281 kB / 0.8225 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.634, allocations: 333 kB / 0.8228 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.6346, allocations: 206.2 kB / 0.823 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.6352, allocations: 184.4 kB / 0.8232 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.6357, allocations: 325.2 kB / 0.8235 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.636, allocations: 171.5 kB / 0.8237 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.6363, allocations: 146.8 kB / 0.8238 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.6367, allocations: 158.1 kB / 0.824 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.6367, allocations: 20.5 kB / 0.824 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.6372, allocations: 232.5 kB / 0.8242 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.6374, allocations: 104.6 kB / 0.8243 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.6375, allocations: 96.33 kB / 0.8244 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.6381, allocations: 435 kB / 0.8248 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6381, allocations: 0.8438 kB / 0.8248 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6381, allocations: 1.094 kB / 0.8248 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.6382, allocations: 0 / 0.8248 GB, free: 25.08 MB / 0.6387 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.001226/0.6394, allocations: 488 kB / 0.8253 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.6395, allocations: 10.75 kB / 0.8253 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.6404, allocations: 96.38 kB / 0.8254 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.6409, allocations: 199.8 kB / 0.8256 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.6409, allocations: 18.94 kB / 0.8256 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.641, allocations: 25.83 kB / 0.8256 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.6419, allocations: 425.9 kB / 0.826 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6419, allocations: 0.625 kB / 0.826 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.6419, allocations: 11.39 kB / 0.826 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.642, allocations: 31.16 kB / 0.8261 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.6426, allocations: 308.2 kB / 0.8264 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.6443, allocations: 1.031 MB / 0.8274 GB, free: 23.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.6448, allocations: 217.7 kB / 0.8276 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.6449, allocations: 110.6 kB / 0.8277 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6451, allocations: 10.84 kB / 0.8277 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6451, allocations: 36.06 kB / 0.8277 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/0.6451, allocations: 0 / 0.8277 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001321/0.6464, allocations: 0.7181 MB / 0.8284 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.6464, allocations: 54.91 kB / 0.8285 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.6466, allocations: 189.8 kB / 0.8287 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.6466, allocations: 30.36 kB / 0.8287 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.6467, allocations: 171.8 kB / 0.8289 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.6468, allocations: 70.06 kB / 0.8289 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6469, allocations: 61.95 kB / 0.829 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.647, allocations: 323.9 kB / 0.8293 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.6471, allocations: 114.8 kB / 0.8294 GB, free: 22.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.6474, allocations: 169.3 kB / 0.8296 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.6478, allocations: 298.3 kB / 0.8299 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6478, allocations: 1.312 kB / 0.8299 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008802/0.6486, allocations: 410.8 kB / 0.8302 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6487, allocations: 9.438 kB / 0.8303 GB, free: 21.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6487, allocations: 6.734 kB / 0.8303 GB, free: 21.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.6492, allocations: 101.1 kB / 0.8304 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.6495, allocations: 59.06 kB / 0.8304 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.6517, allocations: 1.731 MB / 0.8321 GB, free: 20.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.652, allocations: 24.12 kB / 0.8321 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.6521, allocations: 8.328 kB / 0.8321 GB, free: 20.12 MB / 0.6387 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.0002506/0.6523, allocations: 166.6 kB / 0.8323 GB, free: 19.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.6524, allocations: 15.84 kB / 0.8323 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.6529, allocations: 296.9 kB / 0.8326 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6529, allocations: 3.188 kB / 0.8326 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6529, allocations: 4.562 kB / 0.8326 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.653, allocations: 1.219 kB / 0.8326 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.654, allocations: 0.618 MB / 0.8332 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.654, allocations: 1.281 kB / 0.8332 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6543, allocations: 58.27 kB / 0.8333 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.6544, allocations: 1.438 kB / 0.8333 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.6544, allocations: 7.609 kB / 0.8333 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.6544, allocations: 2.25 kB / 0.8333 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6544, allocations: 0 / 0.8333 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.6552, allocations: 0.5113 MB / 0.8338 GB, free: 19.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6553, allocations: 41.7 kB / 0.8338 GB, free: 19.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.6553, allocations: 7.688 kB / 0.8338 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.6555, allocations: 14.75 kB / 0.8338 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.6556, allocations: 17.7 kB / 0.8339 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.6556, allocations: 9.922 kB / 0.8339 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001667/0.6557, allocations: 134.1 kB / 0.834 GB, free: 19.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6557, allocations: 0 / 0.834 GB, free: 19.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004551/0.6562, allocations: 69.19 kB / 0.8341 GB, free: 19 MB / 0.6387 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.0001857/0.6564, allocations: 104.1 kB / 0.8342 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008344/0.6572, allocations: 423 kB / 0.8346 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6572, allocations: 1.031 kB / 0.8346 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6574, allocations: 114.9 kB / 0.8347 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.6578, allocations: 33.22 kB / 0.8347 GB, free: 18.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6591, allocations: 0.6216 MB / 0.8353 GB, free: 18.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.6593, allocations: 176.4 kB / 0.8355 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.6594, allocations: 62.25 kB / 0.8355 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.6595, allocations: 19.28 kB / 0.8356 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.6595, allocations: 0 / 0.8356 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.008831/0.6683, allocations: 2.979 MB / 0.8385 GB, free: 17.85 MB / 0.6387 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: 7.313506932929158] Failed to read output from testmodel.py, exit status != 0: 0.6779132708907127 0.692312951 0.05136907 Calling exit ...