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.0007451/0.0007451, allocations: 72.5 kB / 19.93 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.0007692/0.0007692, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8371/0.8371, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6998/0.6998, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.05e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003052/0.003073, allocations: 3.05 MB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.004853, allocations: 1.679 MB / 0.6239 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.004953, allocations: 7.938 kB / 0.624 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.005568, allocations: 334.6 kB / 0.6243 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.005871, allocations: 218.8 kB / 0.6245 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.006144, allocations: 183.4 kB / 0.6247 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.006405, allocations: 330.8 kB / 0.625 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.006659, allocations: 169 kB / 0.6251 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.006866, allocations: 195.5 kB / 0.6253 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.007077, allocations: 155.5 kB / 0.6255 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.007103, allocations: 24 kB / 0.6255 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.007325, allocations: 231.3 kB / 0.6257 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.007406, allocations: 103.7 kB / 0.6258 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.007474, allocations: 87.8 kB / 0.6259 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.007838, allocations: 438.7 kB / 0.6263 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.007841, allocations: 0 / 0.6263 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007842, allocations: 4 kB / 0.6263 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.007847, allocations: 0 / 0.6263 GB, free: 5.953 MB / 0.5886 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.0006323/0.008479, allocations: 485.4 kB / 0.6268 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.008512, allocations: 8.031 kB / 0.6268 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.008903, allocations: 96.64 kB / 0.6269 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.009137, allocations: 193.4 kB / 0.6271 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.009156, allocations: 24.86 kB / 0.6271 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.009227, allocations: 20.56 kB / 0.6271 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.009623, allocations: 428.9 kB / 0.6275 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.009636, allocations: 192 / 0.6275 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.009661, allocations: 16.12 kB / 0.6275 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.009718, allocations: 24.48 kB / 0.6276 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.01003, allocations: 305.8 kB / 0.6278 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.01098, allocations: 1.047 MB / 0.6289 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.01124, allocations: 206.5 kB / 0.6291 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.01134, allocations: 104.8 kB / 0.6292 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/0.01141, allocations: 12.23 kB / 0.6292 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.01144, allocations: 38.56 kB / 0.6292 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.01144, allocations: 0 / 0.6292 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.000844/0.01228, allocations: 0.7264 MB / 0.6299 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.01231, allocations: 55.41 kB / 0.63 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.01243, allocations: 191.5 kB / 0.6302 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.01244, allocations: 25.7 kB / 0.6302 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.01252, allocations: 168.4 kB / 0.6303 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.01255, allocations: 75.41 kB / 0.6304 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.01262, allocations: 57.66 kB / 0.6305 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.01269, allocations: 326.8 kB / 0.6308 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.01281, allocations: 111.9 kB / 0.6309 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.01294, allocations: 166.5 kB / 0.631 GB, free: 0.8516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.0132, allocations: 297.7 kB / 0.6313 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.0132, allocations: 0 / 0.6313 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000462/0.01366, allocations: 419.2 kB / 0.6317 GB, free: 124 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01367, allocations: 4 kB / 0.6317 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01368, allocations: 8.188 kB / 0.6317 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.01392, allocations: 96.75 kB / 0.6318 GB, free: 12 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.01406, allocations: 59.78 kB / 0.6319 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.01524, allocations: 1.737 MB / 0.6336 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.01533, allocations: 16.02 kB / 0.6336 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01535, allocations: 12 kB / 0.6336 GB, free: 14.09 MB / 0.6042 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.0001023/0.01545, allocations: 154.7 kB / 0.6338 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.01548, allocations: 27.91 kB / 0.6338 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.01577, allocations: 293 kB / 0.6341 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01578, allocations: 4 kB / 0.6341 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01578, allocations: 0 / 0.6341 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01578, allocations: 0 / 0.6341 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.01631, allocations: 0.6071 MB / 0.6347 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01631, allocations: 4 kB / 0.6347 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.01647, allocations: 60.02 kB / 0.6347 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01647, allocations: 4 kB / 0.6347 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01648, allocations: 0 / 0.6347 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01648, allocations: 4 kB / 0.6347 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01648, allocations: 128 / 0.6347 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.01687, allocations: 0.5164 MB / 0.6352 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.01693, allocations: 39.91 kB / 0.6353 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01695, allocations: 4 kB / 0.6353 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.01703, allocations: 15.97 kB / 0.6353 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.01705, allocations: 11.89 kB / 0.6353 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01706, allocations: 15.94 kB / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.01714, allocations: 145.5 kB / 0.6355 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01714, allocations: 0 / 0.6355 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002168/0.01735, allocations: 60 kB / 0.6355 GB, free: 12.06 MB / 0.6042 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.0001099/0.01746, allocations: 111.7 kB / 0.6356 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.01791, allocations: 410.5 kB / 0.636 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01791, allocations: 0 / 0.636 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.01801, allocations: 107.9 kB / 0.6361 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.01826, allocations: 37.02 kB / 0.6362 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.01898, allocations: 0.6229 MB / 0.6368 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01908, allocations: 165.2 kB / 0.6369 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.01914, allocations: 28.48 kB / 0.6369 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.01914, allocations: 0 / 0.6369 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.003661/0.0228, allocations: 3.688 MB / 0.6405 GB, free: 6.84 MB / 0.6042 GB " [Timeout remaining time 660] 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: 5.248902305029333] Failed to read output from testmodel.py, exit status != 0: 0.027259615249931812 0.034716135 0.025322525000000002 Calling exit ...