Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001568/0.001568, allocations: 79.12 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.001713/0.001713, allocations: 163.3 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.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.21/1.21, allocations: 154.6 MB / 413.8 MB, free: 5.215 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.843e-05, allocations: 5.203 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005171/0.0052, allocations: 3.574 MB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.008162, allocations: 1.75 MB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.008346, allocations: 27.75 kB / 0.6238 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.009289, allocations: 270.3 kB / 0.6241 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.009926, allocations: 322.1 kB / 0.6244 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.01046, allocations: 251.3 kB / 0.6246 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.01118, allocations: 0.6244 MB / 0.6252 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.01158, allocations: 231.9 kB / 0.6254 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.01207, allocations: 343 kB / 0.6258 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.01241, allocations: 207.4 kB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.01246, allocations: 28 kB / 0.626 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.01287, allocations: 251.3 kB / 0.6262 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.01302, allocations: 123.6 kB / 0.6263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.0132, allocations: 143.6 kB / 0.6265 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.01394, allocations: 0.6035 MB / 0.6271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.01394, allocations: 4 kB / 0.6271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01394, allocations: 0 / 0.6271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.01395, allocations: 0 / 0.6271 GB, free: 11.81 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001155/0.01511, allocations: 0.672 MB / 0.6277 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01514, allocations: 8.031 kB / 0.6277 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.01604, allocations: 144.4 kB / 0.6279 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.01662, allocations: 332.7 kB / 0.6282 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.01664, allocations: 29 kB / 0.6282 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.01671, allocations: 28.38 kB / 0.6283 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.01762, allocations: 0.635 MB / 0.6289 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.01764, allocations: 4 kB / 0.6289 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.01768, allocations: 12 kB / 0.6289 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.01774, allocations: 40.62 kB / 0.6289 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.01848, allocations: 410.1 kB / 0.6293 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.02118, allocations: 2.675 MB / 0.6319 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.02185, allocations: 302.5 kB / 0.6322 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.02216, allocations: 173.5 kB / 0.6324 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.02218, allocations: 0 / 0.6324 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.02221, allocations: 46.48 kB / 0.6324 GB, free: 6.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.02221, allocations: 0 / 0.6324 GB, free: 6.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001996/0.02421, allocations: 0.8336 MB / 0.6332 GB, free: 5.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.02425, allocations: 55.64 kB / 0.6333 GB, free: 5.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.0246, allocations: 337.5 kB / 0.6336 GB, free: 4.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.02462, allocations: 29.7 kB / 0.6336 GB, free: 4.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.02481, allocations: 252.1 kB / 0.6339 GB, free: 4.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.02489, allocations: 99.16 kB / 0.634 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.02501, allocations: 82.09 kB / 0.6341 GB, free: 4.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.02517, allocations: 342.8 kB / 0.6344 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.02545, allocations: 148.9 kB / 0.6345 GB, free: 3.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.02584, allocations: 291.1 kB / 0.6348 GB, free: 3.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.02656, allocations: 491.2 kB / 0.6353 GB, free: 2.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02657, allocations: 0 / 0.6353 GB, free: 2.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001027/0.02759, allocations: 0.5579 MB / 0.6358 GB, free: 2.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.02761, allocations: 8 kB / 0.6358 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.02762, allocations: 8.562 kB / 0.6358 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.02793, allocations: 94.44 kB / 0.6359 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.02828, allocations: 83.89 kB / 0.636 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.02829, allocations: 15.92 kB / 0.636 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.02855, allocations: 23.97 kB / 0.636 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.02858, allocations: 20 kB / 0.6361 GB, free: 2.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.02877, allocations: 170.6 kB / 0.6362 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.02883, allocations: 47.77 kB / 0.6363 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.02974, allocations: 463.9 kB / 0.6367 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.02975, allocations: 3.984 kB / 0.6367 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.02975, allocations: 4 kB / 0.6367 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02975, allocations: 0 / 0.6367 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.03113, allocations: 0.8386 MB / 0.6375 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03113, allocations: 4.031 kB / 0.6375 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.03136, allocations: 43.97 kB / 0.6376 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.03161, allocations: 86.44 kB / 0.6377 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.03163, allocations: 8 kB / 0.6377 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.03164, allocations: 4 kB / 0.6377 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.03164, allocations: 3.938 kB / 0.6377 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.03252, allocations: 0.5487 MB / 0.6382 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.03265, allocations: 59.73 kB / 0.6383 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.0327, allocations: 11.95 kB / 0.6383 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.03292, allocations: 15.97 kB / 0.6383 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.033, allocations: 31.83 kB / 0.6383 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.03302, allocations: 12 kB / 0.6383 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002232/0.03324, allocations: 227.1 kB / 0.6386 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.03324, allocations: 0 / 0.6386 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003899/0.03363, allocations: 84 kB / 0.6386 GB, free: 15.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.03377, allocations: 111.1 kB / 0.6387 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.03456, allocations: 395.1 kB / 0.6391 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03456, allocations: 256 / 0.6391 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.03493, allocations: 194.3 kB / 0.6393 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.03561, allocations: 128.3 kB / 0.6394 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.03669, allocations: 0.7131 MB / 0.6401 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.0369, allocations: 224 kB / 0.6403 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000202/0.03711, allocations: 83.23 kB / 0.6404 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.03719, allocations: 32.48 kB / 0.6405 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.03719, allocations: 0 / 0.6405 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.009558/0.04675, allocations: 4.765 MB / 0.6451 GB, free: 8.824 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.802788782864809] Failed to read output from testmodel.py, exit status != 0: 0.05507977679371834 0.069943379 0.05306336800000001 Calling exit ...