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.0008064/0.0008064, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001889, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007258/0.0007258, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009063/0.001632, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9835/0.9835, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09874/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.8058/0.8058, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3199/1.126, allocations: 49.04 MB / 447.6 MB, free: 6.68 MB / 426.7 MB " [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: Performance of FrontEnd - loaded program: time 8.31e-07/8.31e-07, allocations: 0 / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.116e-05, allocations: 2.312 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00309/0.003101, allocations: 3.148 MB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004805, allocations: 1.169 MB / 453.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.004976, allocations: 19.81 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.005292, allocations: 149.6 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.005698, allocations: 261.1 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.006063, allocations: 204.4 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.006659, allocations: 0.6413 MB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.006952, allocations: 233 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.00739, allocations: 367.7 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.007663, allocations: 224.9 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.007699, allocations: 31.94 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.007862, allocations: 97.11 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.007955, allocations: 111.6 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.008075, allocations: 115.7 kB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.008418, allocations: 334.7 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.008426, allocations: 0.5 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.008427, allocations: 1.375 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.008438, allocations: 0 / 455.9 MB, free: 14.38 MB / 442.7 MB 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.0007134/0.009151, allocations: 0.7056 MB / 456.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.306e-05/0.009174, allocations: 8.875 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.009834, allocations: 217.7 kB / 456.9 MB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.01023, allocations: 335.2 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.01024, allocations: 21.03 kB / 457.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.01029, allocations: 37.09 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.01071, allocations: 487.6 kB / 457.7 MB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01072, allocations: 4.562 kB / 457.7 MB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01075, allocations: 16 kB / 457.7 MB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.0108, allocations: 43.72 kB / 457.8 MB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.011, allocations: 148.8 kB / 457.9 MB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.01258, allocations: 2.357 MB / 460.3 MB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.01286, allocations: 199.6 kB / 460.5 MB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.01294, allocations: 53.47 kB / 460.5 MB, free: 9.535 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.01296, allocations: 4 kB / 460.5 MB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.01298, allocations: 39.11 kB / 460.6 MB, free: 9.484 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.01298, allocations: 0.5938 kB / 460.6 MB, free: 9.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007181/0.0137, allocations: 364.8 kB / 460.9 MB, free: 9.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.01372, allocations: 56.27 kB / 461 MB, free: 9.043 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01393, allocations: 320.1 kB / 461.3 MB, free: 8.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.01394, allocations: 29.64 kB / 461.3 MB, free: 8.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01405, allocations: 232.6 kB / 461.6 MB, free: 8.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.0141, allocations: 96.16 kB / 461.7 MB, free: 8.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.01419, allocations: 74.12 kB / 461.7 MB, free: 8.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.01429, allocations: 354.7 kB / 462.1 MB, free: 7.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.01435, allocations: 41.61 kB / 462.1 MB, free: 7.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.01449, allocations: 188.9 kB / 462.3 MB, free: 7.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.01475, allocations: 276.7 kB / 462.6 MB, free: 7.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01475, allocations: 4 kB / 462.6 MB, free: 7.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004064/0.01516, allocations: 316.8 kB / 462.9 MB, free: 6.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.01517, allocations: 8 kB / 462.9 MB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01518, allocations: 9.203 kB / 462.9 MB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.01533, allocations: 67.95 kB / 463 MB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.01557, allocations: 88.45 kB / 463.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01558, allocations: 15.92 kB / 463.1 MB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01572, allocations: 17.41 kB / 463.1 MB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01574, allocations: 12 kB / 463.1 MB, free: 6.762 MB / 442.7 MB 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.0001063/0.01584, allocations: 137.8 kB / 463.2 MB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.0159, allocations: 43.89 kB / 463.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.01622, allocations: 235 kB / 463.5 MB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01622, allocations: 4 kB / 463.5 MB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01623, allocations: 5.109 kB / 463.5 MB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01623, allocations: 0 / 463.5 MB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.01697, allocations: 0.5233 MB / 464 MB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01697, allocations: 4 kB / 464 MB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.01712, allocations: 43.92 kB / 464.1 MB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.01719, allocations: 47.73 kB / 464.1 MB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.01732, allocations: 59.89 kB / 464.2 MB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01733, allocations: 5.875 kB / 464.2 MB, free: 5.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01733, allocations: 4 kB / 464.2 MB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01733, allocations: 0 / 464.2 MB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.01764, allocations: 375.5 kB / 464.6 MB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.01768, allocations: 8 kB / 464.6 MB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.0178, allocations: 9 kB / 464.6 MB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.01784, allocations: 23.95 kB / 464.6 MB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01786, allocations: 4.656 kB / 464.6 MB, free: 5.133 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.276e-05/0.01795, allocations: 128.6 kB / 464.7 MB, free: 5.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01795, allocations: 2.156 kB / 464.7 MB, free: 5.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.01826, allocations: 84 kB / 464.8 MB, free: 4.926 MB / 442.7 MB 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 7.29e-05/0.01833, allocations: 89.2 kB / 464.9 MB, free: 4.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.01861, allocations: 208.9 kB / 465.1 MB, free: 4.621 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/0.01863, allocations: 11.98 kB / 465.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01876, allocations: 102.8 kB / 465.2 MB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.01921, allocations: 161.4 kB / 465.4 MB, free: 4.355 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.02132, allocations: 0.6983 MB / 466.1 MB, free: 3.621 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.0214, allocations: 121.6 kB / 466.2 MB, free: 3.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.02154, allocations: 44.88 kB / 466.2 MB, free: 3.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.02174, allocations: 137.3 kB / 466.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02175, allocations: 0 / 466.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of Templates: time 0.008053/0.0298, allocations: 5.311 MB / 471.7 MB, free: 14.41 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6111461920663714]