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.0007718/0.0007718, allocations: 72.45 kB / 19.9 MB, free: 16 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.000783/0.000783, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8384/0.8384, 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.6875/0.6875, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.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: 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.0009534/0.0009534, allocations: 71.89 kB / 0.6196 GB, free: 13.12 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.4369/0.4378, allocations: 101.9 MB / 0.7191 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003417/0.4412, allocations: 3.592 MB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4429, allocations: 1.746 MB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.4431, allocations: 29.75 kB / 0.7243 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.4437, allocations: 265.3 kB / 0.7246 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.444, allocations: 311.5 kB / 0.7249 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.4443, allocations: 250.2 kB / 0.7251 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.4448, allocations: 0.6097 MB / 0.7257 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.4451, allocations: 230.4 kB / 0.7259 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.4456, allocations: 352.5 kB / 0.7263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.4458, allocations: 231 kB / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.4458, allocations: 26.41 kB / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.4461, allocations: 246.4 kB / 0.7268 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4462, allocations: 121 kB / 0.7269 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4463, allocations: 175.2 kB / 0.727 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000619/0.4469, allocations: 0.6415 MB / 0.7277 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.331e-06/0.4469, allocations: 0 / 0.7277 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4469, allocations: 7.938 kB / 0.7277 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4469, allocations: 0.7969 kB / 0.7277 GB, free: 18.65 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007408/0.4477, allocations: 0.6624 MB / 0.7283 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4477, allocations: 10.28 kB / 0.7283 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.4483, allocations: 144.3 kB / 0.7285 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4486, allocations: 341 kB / 0.7288 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4486, allocations: 21.38 kB / 0.7288 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.4487, allocations: 31.89 kB / 0.7289 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.4492, allocations: 0.6315 MB / 0.7295 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4493, allocations: 2.531 kB / 0.7295 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.4493, allocations: 16.69 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.4493, allocations: 48.98 kB / 0.7295 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.4498, allocations: 411.1 kB / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.4511, allocations: 2.691 MB / 0.7326 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.4515, allocations: 304.9 kB / 0.7328 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4517, allocations: 160.2 kB / 0.733 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4517, allocations: 12.06 kB / 0.733 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.4517, allocations: 32.69 kB / 0.733 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.4517, allocations: 0 / 0.733 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.001184/0.4529, allocations: 0.8444 MB / 0.7339 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.4529, allocations: 55.36 kB / 0.7339 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4531, allocations: 328.9 kB / 0.7342 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4532, allocations: 31.08 kB / 0.7343 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.4532, allocations: 250.8 kB / 0.7345 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4533, allocations: 99.81 kB / 0.7346 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.4534, allocations: 78.66 kB / 0.7347 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.4534, allocations: 345.7 kB / 0.735 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.4536, allocations: 151.2 kB / 0.7351 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.4538, allocations: 295.3 kB / 0.7354 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.4542, allocations: 486.8 kB / 0.7359 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4542, allocations: 6.094 kB / 0.7359 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005841/0.4548, allocations: 0.5566 MB / 0.7364 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4548, allocations: 6.5 kB / 0.7364 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4548, allocations: 6.906 kB / 0.7365 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.455, allocations: 91.69 kB / 0.7365 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.4552, allocations: 82.05 kB / 0.7366 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4552, allocations: 13.66 kB / 0.7366 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4553, allocations: 28.94 kB / 0.7367 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4553, allocations: 26.56 kB / 0.7367 GB, free: 12.58 MB / 0.6355 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.0001078/0.4554, allocations: 174.6 kB / 0.7369 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.4555, allocations: 39.03 kB / 0.7369 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.456, allocations: 475.4 kB / 0.7373 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.456, allocations: 6.828 kB / 0.7373 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.456, allocations: 1.312 kB / 0.7373 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.456, allocations: 6.812 kB / 0.7374 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/0.4568, allocations: 0.8327 MB / 0.7382 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4568, allocations: 1.375 kB / 0.7382 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4569, allocations: 50.14 kB / 0.7382 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.4571, allocations: 87.3 kB / 0.7383 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4571, allocations: 11.31 kB / 0.7383 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4571, allocations: 5.5 kB / 0.7383 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4571, allocations: 2.359 kB / 0.7383 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.4575, allocations: 0.5413 MB / 0.7388 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.4576, allocations: 61.67 kB / 0.7389 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.4577, allocations: 6.594 kB / 0.7389 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4578, allocations: 25.2 kB / 0.7389 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4578, allocations: 28.94 kB / 0.739 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4578, allocations: 9.688 kB / 0.739 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001257/0.458, allocations: 227.5 kB / 0.7392 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.458, allocations: 0 / 0.7392 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000257/0.4582, allocations: 84.16 kB / 0.7393 GB, free: 11.16 MB / 0.6355 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 8.312e-05/0.4583, allocations: 99.7 kB / 0.7394 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.4588, allocations: 395.3 kB / 0.7397 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4588, allocations: 0 / 0.7397 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.459, allocations: 197.7 kB / 0.7399 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.4595, allocations: 121 kB / 0.74 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.4602, allocations: 0.7838 MB / 0.7408 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.4604, allocations: 220 kB / 0.741 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.4605, allocations: 32.3 kB / 0.7411 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4605, allocations: 0 / 0.7411 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.008715/0.4692, allocations: 9.571 MB / 0.7504 GB, free: 7.762 MB / 0.6355 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: 6.539199568098411] Failed to read output from testmodel.py, exit status != 0: 0.4749102499336004 0.48264738399999996 0.033989649000000004 Calling exit ...