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.001008/0.001008, allocations: 72.45 kB / 19.91 MB, free: 12 kB / 13.93 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.001027/0.001027, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8667/0.8667, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7001/0.7001, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: 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.0008295/0.0008295, allocations: 71.98 kB / 0.6195 GB, free: 13.09 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4339, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003566/0.4375, allocations: 3.053 MB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.4395, allocations: 1.688 MB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4397, allocations: 3.531 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.4404, allocations: 336.9 kB / 0.7241 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.4408, allocations: 218.8 kB / 0.7243 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.4412, allocations: 185.5 kB / 0.7244 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.4416, allocations: 322.5 kB / 0.7248 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.4419, allocations: 168.4 kB / 0.7249 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.4423, allocations: 199.2 kB / 0.7251 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.4426, allocations: 160.9 kB / 0.7253 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4426, allocations: 21.03 kB / 0.7253 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.443, allocations: 225.9 kB / 0.7255 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.4431, allocations: 101.1 kB / 0.7256 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4432, allocations: 108.6 kB / 0.7257 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.4438, allocations: 458.4 kB / 0.7261 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4438, allocations: 1.656 kB / 0.7261 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4438, allocations: 0 / 0.7261 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4438, allocations: 0 / 0.7261 GB, free: 19.53 MB / 0.6355 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.0008235/0.4446, allocations: 482.9 kB / 0.7266 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4447, allocations: 9.812 kB / 0.7266 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.4452, allocations: 104.3 kB / 0.7267 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.4455, allocations: 198.8 kB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4455, allocations: 17.09 kB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.4456, allocations: 28.38 kB / 0.7269 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.446, allocations: 430.2 kB / 0.7273 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.446, allocations: 0 / 0.7273 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.4461, allocations: 14.81 kB / 0.7274 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.062e-05/0.4461, allocations: 31.11 kB / 0.7274 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.4465, allocations: 307.5 kB / 0.7277 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.4476, allocations: 1.031 MB / 0.7287 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.448, allocations: 210.5 kB / 0.7289 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4481, allocations: 105.7 kB / 0.729 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.4482, allocations: 13.95 kB / 0.729 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4482, allocations: 40.97 kB / 0.729 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.725e-06/0.4482, allocations: 3.938 kB / 0.729 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001001/0.4492, allocations: 0.7138 MB / 0.7297 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4492, allocations: 54.45 kB / 0.7298 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4494, allocations: 191.3 kB / 0.73 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.4494, allocations: 29.7 kB / 0.73 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.4495, allocations: 167.6 kB / 0.7302 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4495, allocations: 75.2 kB / 0.7302 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.4496, allocations: 57.28 kB / 0.7303 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.4496, allocations: 327.9 kB / 0.7306 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4497, allocations: 114.6 kB / 0.7307 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4499, allocations: 171.7 kB / 0.7309 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.4502, allocations: 297.6 kB / 0.7312 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4502, allocations: 0 / 0.7312 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005222/0.4508, allocations: 412.5 kB / 0.7316 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4508, allocations: 12.59 kB / 0.7316 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4508, allocations: 1.375 kB / 0.7316 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.451, allocations: 107.8 kB / 0.7317 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4512, allocations: 56.75 kB / 0.7317 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.4524, allocations: 1.734 MB / 0.7334 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4525, allocations: 15.42 kB / 0.7334 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4525, allocations: 14.14 kB / 0.7334 GB, free: 14.54 MB / 0.6355 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.0001169/0.4526, allocations: 161.4 kB / 0.7336 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.4527, allocations: 16.28 kB / 0.7336 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.453, allocations: 301.2 kB / 0.7339 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.453, allocations: 2.375 kB / 0.7339 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.453, allocations: 5.969 kB / 0.7339 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.453, allocations: 4.609 kB / 0.7339 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.4537, allocations: 0.6067 MB / 0.7345 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4537, allocations: 5.156 kB / 0.7345 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.4538, allocations: 54.25 kB / 0.7346 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4538, allocations: 1.375 kB / 0.7346 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4538, allocations: 11.3 kB / 0.7346 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4539, allocations: 2.125 kB / 0.7346 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4539, allocations: 1.375 kB / 0.7346 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.4543, allocations: 0.5178 MB / 0.7351 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.4544, allocations: 41.98 kB / 0.7351 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.4544, allocations: 3.375 kB / 0.7351 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.4545, allocations: 15.47 kB / 0.7351 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.4545, allocations: 23.77 kB / 0.7352 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4545, allocations: 4.031 kB / 0.7352 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.4546, allocations: 140.1 kB / 0.7353 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4546, allocations: 0 / 0.7353 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002769/0.4549, allocations: 63.33 kB / 0.7354 GB, free: 13.42 MB / 0.6355 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.0001151/0.455, allocations: 105.2 kB / 0.7355 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.4555, allocations: 412.2 kB / 0.7359 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4555, allocations: 1.406 kB / 0.7359 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.4556, allocations: 111 kB / 0.736 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4559, allocations: 34.19 kB / 0.736 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.4567, allocations: 0.6791 MB / 0.7367 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4569, allocations: 159.3 kB / 0.7368 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.4569, allocations: 25.98 kB / 0.7368 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.4569, allocations: 4 kB / 0.7368 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.00563/0.4625, allocations: 3.686 MB / 0.7404 GB, free: 12.25 MB / 0.6355 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.716836809879169] Failed to read output from testmodel.py, exit status != 0: 0.46792805613949895 0.476119491 0.030575551000000003 Calling exit ...