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.001294/0.001294, allocations: 80.67 kB / 19.18 MB, free: 2.508 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.001412/0.001412, allocations: 167.9 kB / 22.45 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.395/1.395, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.192/1.192, allocations: 154.7 MB / 413.9 MB, free: 5.109 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.862e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004887/0.004915, allocations: 3.054 MB / 0.6217 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003004/0.00792, allocations: 1.671 MB / 0.6233 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.008058, allocations: 7.938 kB / 0.6234 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.00912, allocations: 337.8 kB / 0.6237 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.009619, allocations: 214.8 kB / 0.6239 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.0101, allocations: 191.3 kB / 0.6241 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.01047, allocations: 311 kB / 0.6244 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.01078, allocations: 172.9 kB / 0.6245 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.01108, allocations: 195.5 kB / 0.6247 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.01137, allocations: 151.6 kB / 0.6249 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.01141, allocations: 20 kB / 0.6249 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.01176, allocations: 223.4 kB / 0.6251 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.01187, allocations: 107.6 kB / 0.6252 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.01198, allocations: 83.81 kB / 0.6253 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.01252, allocations: 446.7 kB / 0.6257 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01253, allocations: 0 / 0.6257 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01253, allocations: 0 / 0.6257 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.01253, allocations: 0 / 0.6257 GB, free: 13.4 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.0009438/0.01348, allocations: 493.4 kB / 0.6262 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01351, allocations: 8.031 kB / 0.6262 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.01425, allocations: 100.6 kB / 0.6263 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.01458, allocations: 197.4 kB / 0.6265 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.0146, allocations: 20.88 kB / 0.6265 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.861e-05/0.0147, allocations: 20.56 kB / 0.6265 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.01531, allocations: 424.9 kB / 0.6269 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.01533, allocations: 4.188 kB / 0.6269 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.01536, allocations: 12.12 kB / 0.6269 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/0.01546, allocations: 24.48 kB / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.01594, allocations: 309.8 kB / 0.6272 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01755, allocations: 1.039 MB / 0.6283 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.01801, allocations: 214.5 kB / 0.6285 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.01817, allocations: 100.8 kB / 0.6286 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.01829, allocations: 15.97 kB / 0.6286 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.01832, allocations: 38.5 kB / 0.6286 GB, free: 10.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.01832, allocations: 0 / 0.6286 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001264/0.01959, allocations: 0.728 MB / 0.6293 GB, free: 9.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.01964, allocations: 55.41 kB / 0.6294 GB, free: 9.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.01983, allocations: 188.7 kB / 0.6295 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.01985, allocations: 25.7 kB / 0.6296 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01996, allocations: 164.5 kB / 0.6297 GB, free: 9.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.02003, allocations: 79.41 kB / 0.6298 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.02013, allocations: 53.66 kB / 0.6299 GB, free: 8.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.02027, allocations: 330.8 kB / 0.6302 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.02045, allocations: 115.9 kB / 0.6303 GB, free: 8.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.02068, allocations: 161.9 kB / 0.6304 GB, free: 8.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.0211, allocations: 302.2 kB / 0.6307 GB, free: 7.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.0211, allocations: 0 / 0.6307 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007949/0.0219, allocations: 414.1 kB / 0.6311 GB, free: 7.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.02192, allocations: 8 kB / 0.6311 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02192, allocations: 0 / 0.6311 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.02235, allocations: 100.8 kB / 0.6312 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.02261, allocations: 59.78 kB / 0.6313 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.02465, allocations: 1.738 MB / 0.633 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.02487, allocations: 15.98 kB / 0.633 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.0249, allocations: 12 kB / 0.633 GB, free: 5.531 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.0001792/0.02508, allocations: 162.7 kB / 0.6332 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.02514, allocations: 23.84 kB / 0.6332 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.02564, allocations: 293.7 kB / 0.6335 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.02564, allocations: 0 / 0.6335 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.02564, allocations: 0 / 0.6335 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02565, allocations: 0 / 0.6335 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.02653, allocations: 0.6074 MB / 0.6341 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02653, allocations: 4.062 kB / 0.6341 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.02684, allocations: 63.89 kB / 0.6341 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02685, allocations: 0 / 0.6341 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.02687, allocations: 4 kB / 0.6341 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02687, allocations: 0 / 0.6341 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02687, allocations: 0 / 0.6341 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.02752, allocations: 0.5242 MB / 0.6346 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.02761, allocations: 31.92 kB / 0.6347 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.02764, allocations: 7.984 kB / 0.6347 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.02783, allocations: 15.98 kB / 0.6347 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.02786, allocations: 12.05 kB / 0.6347 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02788, allocations: 11.94 kB / 0.6347 GB, free: 3.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001333/0.02801, allocations: 148.2 kB / 0.6349 GB, free: 3.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02801, allocations: 0 / 0.6349 GB, free: 3.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003599/0.02837, allocations: 64 kB / 0.6349 GB, free: 3.5 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.000158/0.02853, allocations: 111.7 kB / 0.635 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007394/0.02927, allocations: 414.5 kB / 0.6354 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02927, allocations: 4 kB / 0.6354 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.02944, allocations: 107.9 kB / 0.6355 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.02982, allocations: 45.67 kB / 0.6356 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.03096, allocations: 0.5705 MB / 0.6361 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.03113, allocations: 165.1 kB / 0.6363 GB, free: 2.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.0313, allocations: 57.91 kB / 0.6363 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.03136, allocations: 20.5 kB / 0.6364 GB, free: 1.953 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.03136, allocations: 0 / 0.6364 GB, free: 1.953 MB / 0.545 GB Notification: Performance of Templates: time 0.006765/0.03813, allocations: 2.767 MB / 0.6391 GB, free: 15.23 MB / 0.5606 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.7367191687226295] Failed to read output from testmodel.py, exit status != 0: 0.046579014509916306 0.06052579500000001 0.044936815000000005 Calling exit ...