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.00146/0.00146, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001472/0.001472, allocations: 168.1 kB / 22.46 MB, free: 5.375 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.438/1.438, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.2/1.2, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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.553e-06/1.553e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.724e-05, allocations: 6.219 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004714/0.004741, allocations: 3.047 MB / 0.6215 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.007777, allocations: 1.665 MB / 0.6231 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.007909, allocations: 8.562 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.009043, allocations: 333.2 kB / 0.6234 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.00958, allocations: 222.7 kB / 0.6237 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.01009, allocations: 179.4 kB / 0.6238 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.01051, allocations: 334.8 kB / 0.6241 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.01085, allocations: 172.9 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.01117, allocations: 195.5 kB / 0.6245 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.01149, allocations: 151.6 kB / 0.6246 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.01154, allocations: 24 kB / 0.6247 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.01195, allocations: 231.3 kB / 0.6249 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01208, allocations: 107.7 kB / 0.625 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.01222, allocations: 87.8 kB / 0.6251 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.01288, allocations: 442.7 kB / 0.6255 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.01289, allocations: 0 / 0.6255 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01289, allocations: 0 / 0.6255 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.01289, allocations: 0 / 0.6255 GB, free: 13.5 MB / 0.545 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.001127/0.01402, allocations: 481.4 kB / 0.626 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.01406, allocations: 21.41 kB / 0.626 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.01483, allocations: 96.64 kB / 0.6261 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.01519, allocations: 201.4 kB / 0.6263 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.01521, allocations: 16.86 kB / 0.6263 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.01532, allocations: 24.56 kB / 0.6263 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.016, allocations: 428.9 kB / 0.6267 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.01602, allocations: 192 / 0.6267 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.01605, allocations: 8.125 kB / 0.6267 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.01616, allocations: 32.48 kB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.01669, allocations: 305.8 kB / 0.627 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.0184, allocations: 1.043 MB / 0.6281 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.0189, allocations: 210.4 kB / 0.6283 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01906, allocations: 96.81 kB / 0.6284 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.01917, allocations: 15.98 kB / 0.6284 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.01921, allocations: 34.56 kB / 0.6284 GB, free: 10.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.01921, allocations: 7.938 kB / 0.6284 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00134/0.02055, allocations: 0.7198 MB / 0.6291 GB, free: 9.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.02059, allocations: 55.41 kB / 0.6292 GB, free: 9.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.02079, allocations: 188.2 kB / 0.6293 GB, free: 9.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.02082, allocations: 33.7 kB / 0.6294 GB, free: 9.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.02094, allocations: 160.5 kB / 0.6295 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.02101, allocations: 71.42 kB / 0.6296 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.02112, allocations: 57.59 kB / 0.6296 GB, free: 9.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.0213, allocations: 334.8 kB / 0.63 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.02151, allocations: 111.9 kB / 0.6301 GB, free: 8.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.02176, allocations: 161.9 kB / 0.6302 GB, free: 8.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.02222, allocations: 297.7 kB / 0.6305 GB, free: 8.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.02222, allocations: 0 / 0.6305 GB, free: 8.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008364/0.02306, allocations: 416.8 kB / 0.6309 GB, free: 7.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.02307, allocations: 8 kB / 0.6309 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02308, allocations: 3.984 kB / 0.6309 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.02351, allocations: 108.9 kB / 0.631 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.02377, allocations: 51.84 kB / 0.6311 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.02589, allocations: 1.745 MB / 0.6328 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.02611, allocations: 15.98 kB / 0.6328 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02613, allocations: 8 kB / 0.6328 GB, free: 5.625 MB / 0.545 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.0001718/0.0263, allocations: 162.7 kB / 0.633 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.02636, allocations: 19.84 kB / 0.633 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.02691, allocations: 291.3 kB / 0.6333 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02691, allocations: 0 / 0.6333 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.02691, allocations: 4.062 kB / 0.6333 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02691, allocations: 0 / 0.6333 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.02785, allocations: 0.6127 MB / 0.6339 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02785, allocations: 0 / 0.6339 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.02816, allocations: 59.89 kB / 0.6339 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02817, allocations: 0 / 0.6339 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.02819, allocations: 8 kB / 0.6339 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02819, allocations: 0 / 0.6339 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.02819, allocations: 4 kB / 0.6339 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.02888, allocations: 0.5268 MB / 0.6344 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.02897, allocations: 31.92 kB / 0.6345 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.02901, allocations: 11.98 kB / 0.6345 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.02918, allocations: 11.98 kB / 0.6345 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.02923, allocations: 11.98 kB / 0.6345 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.02925, allocations: 7.938 kB / 0.6345 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001365/0.02939, allocations: 147.5 kB / 0.6347 GB, free: 3.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02939, allocations: 0 / 0.6347 GB, free: 3.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003599/0.02975, allocations: 68 kB / 0.6347 GB, free: 3.594 MB / 0.545 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.0001885/0.02993, allocations: 107.8 kB / 0.6348 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007526/0.03069, allocations: 414.3 kB / 0.6352 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.03069, allocations: 0 / 0.6352 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.03086, allocations: 111.9 kB / 0.6353 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.03125, allocations: 40.41 kB / 0.6354 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.03238, allocations: 0.5764 MB / 0.6359 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.03255, allocations: 157.2 kB / 0.6361 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.0327, allocations: 61.91 kB / 0.6361 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.03276, allocations: 20.5 kB / 0.6362 GB, free: 2.047 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.03277, allocations: 0 / 0.6362 GB, free: 2.047 MB / 0.545 GB Notification: Performance of Templates: time 0.006772/0.03954, allocations: 2.758 MB / 0.6388 GB, free: 15.34 MB / 0.5606 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.84596873447299] Failed to read output from testmodel.py, exit status != 0: 0.048095300793647766 0.06220470300000001 0.046330800000000005 Calling exit ...