Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007522/0.0007522, 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.0007379/0.0007379, allocations: 177.9 kB / 23.21 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.8531/0.8531, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7207/0.7207, allocations: 154.5 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.533e-05, allocations: 5.719 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003447/0.003462, allocations: 3.049 MB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.005103, allocations: 1.671 MB / 0.6239 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.005188, allocations: 7.938 kB / 0.6239 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.00574, allocations: 330.7 kB / 0.6242 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.005993, allocations: 226.7 kB / 0.6244 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.006222, allocations: 179.4 kB / 0.6246 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.006451, allocations: 322.8 kB / 0.6249 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.006682, allocations: 173 kB / 0.6251 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.006866, allocations: 191.5 kB / 0.6253 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.007054, allocations: 151.6 kB / 0.6254 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.007078, allocations: 28 kB / 0.6254 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.007274, allocations: 223.4 kB / 0.6256 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.007348, allocations: 107.7 kB / 0.6257 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.007409, allocations: 87.77 kB / 0.6258 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.007737, allocations: 438.7 kB / 0.6262 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.007739, allocations: 0 / 0.6262 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00774, allocations: 0 / 0.6262 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.007744, allocations: 0 / 0.6262 GB, free: 6.039 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.0005796/0.008323, allocations: 481.5 kB / 0.6267 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.008353, allocations: 13.47 kB / 0.6267 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.008721, allocations: 96.64 kB / 0.6268 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.008935, allocations: 205.3 kB / 0.627 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.008951, allocations: 16.86 kB / 0.627 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.009023, allocations: 28.55 kB / 0.627 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.009394, allocations: 428.8 kB / 0.6275 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.009406, allocations: 192 / 0.6275 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.009428, allocations: 16.11 kB / 0.6275 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.009481, allocations: 36.47 kB / 0.6275 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.01004, allocations: 305.8 kB / 0.6278 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.01093, allocations: 1.027 MB / 0.6288 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.01118, allocations: 206.4 kB / 0.629 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.01128, allocations: 108.8 kB / 0.6291 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/0.01135, allocations: 8.312 kB / 0.6291 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01137, allocations: 38.55 kB / 0.6291 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.01137, allocations: 0 / 0.6291 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0007889/0.01216, allocations: 0.7232 MB / 0.6299 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.01218, allocations: 59.34 kB / 0.6299 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.01229, allocations: 187.2 kB / 0.6301 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.0123, allocations: 25.7 kB / 0.6301 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.01237, allocations: 176.4 kB / 0.6303 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.01241, allocations: 63.44 kB / 0.6303 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.01247, allocations: 65.62 kB / 0.6304 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.01254, allocations: 334.8 kB / 0.6307 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01265, allocations: 111.9 kB / 0.6308 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.01277, allocations: 166.5 kB / 0.631 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.01303, allocations: 304.5 kB / 0.6313 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01303, allocations: 0 / 0.6313 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004395/0.01347, allocations: 417.9 kB / 0.6317 GB, free: 192 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01348, allocations: 4 kB / 0.6317 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01348, allocations: 4 kB / 0.6317 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.01371, allocations: 96.95 kB / 0.6318 GB, free: 84 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01383, allocations: 55.83 kB / 0.6318 GB, free: 28 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.01493, allocations: 1.741 MB / 0.6335 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.355e-05/0.01502, allocations: 16.02 kB / 0.6335 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01503, allocations: 11.98 kB / 0.6336 GB, free: 14.16 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 9.069e-05/0.01512, allocations: 154.8 kB / 0.6337 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.01515, allocations: 19.84 kB / 0.6337 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01543, allocations: 295.3 kB / 0.634 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01543, allocations: 4 kB / 0.634 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01543, allocations: 4.062 kB / 0.634 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01544, allocations: 3.984 kB / 0.634 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/0.01619, allocations: 0.6011 MB / 0.6346 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01619, allocations: 4 kB / 0.6346 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.01634, allocations: 60.08 kB / 0.6347 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01634, allocations: 4 kB / 0.6347 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01636, allocations: 7.984 kB / 0.6347 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01636, allocations: 7.938 kB / 0.6347 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01636, allocations: 0 / 0.6347 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.01673, allocations: 0.5204 MB / 0.6352 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.01678, allocations: 35.91 kB / 0.6352 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.01679, allocations: 8 kB / 0.6352 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.01688, allocations: 11.98 kB / 0.6352 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.0169, allocations: 15.88 kB / 0.6353 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01691, allocations: 15.94 kB / 0.6353 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.01698, allocations: 137.4 kB / 0.6354 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01698, allocations: 0 / 0.6354 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002022/0.01718, allocations: 67.98 kB / 0.6355 GB, free: 12.12 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 9.685e-05/0.01728, allocations: 115.7 kB / 0.6356 GB, free: 12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.01769, allocations: 399.3 kB / 0.636 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0177, allocations: 0 / 0.636 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.01779, allocations: 111.8 kB / 0.6361 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01803, allocations: 43.22 kB / 0.6361 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.01869, allocations: 0.611 MB / 0.6367 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.01878, allocations: 169.1 kB / 0.6369 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.01884, allocations: 20.5 kB / 0.6369 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.01884, allocations: 0 / 0.6369 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.003327/0.02217, allocations: 3.677 MB / 0.6405 GB, free: 6.918 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.181033262051642] Failed to read output from testmodel.py, exit status != 0: 0.026576803997159004 0.033892487 0.024675609 Calling exit ...