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.0008518/0.0008518, allocations: 76.45 kB / 19.9 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.000833/0.000833, 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.9026/0.9026, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.716/0.716, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.00123/0.00123, allocations: 75.89 kB / 0.6195 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.539/0.5402, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004233/0.5444, allocations: 3.591 MB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.5475, allocations: 1.749 MB / 0.7243 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.5477, allocations: 25.56 kB / 0.7243 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009455/0.5487, allocations: 268.4 kB / 0.7246 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007275/0.5494, allocations: 312.7 kB / 0.7249 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.55, allocations: 251.5 kB / 0.7251 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.5506, allocations: 0.6065 MB / 0.7257 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.551, allocations: 235.1 kB / 0.726 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.5515, allocations: 347.5 kB / 0.7263 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.5518, allocations: 226.4 kB / 0.7265 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.5518, allocations: 27.75 kB / 0.7265 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.5522, allocations: 245.1 kB / 0.7268 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.5524, allocations: 125.7 kB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5526, allocations: 178.4 kB / 0.727 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.5532, allocations: 0.5974 MB / 0.7276 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5532, allocations: 1.438 kB / 0.7276 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5532, allocations: 0 / 0.7276 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.5532, allocations: 0 / 0.7276 GB, free: 18.64 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.000927/0.5542, allocations: 0.6779 MB / 0.7283 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5542, allocations: 13.94 kB / 0.7283 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.5548, allocations: 140 kB / 0.7284 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.5553, allocations: 337.2 kB / 0.7288 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.5553, allocations: 25.7 kB / 0.7288 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.5554, allocations: 27.78 kB / 0.7288 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.5562, allocations: 0.6309 MB / 0.7294 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.5562, allocations: 7.453 kB / 0.7294 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.5562, allocations: 13.16 kB / 0.7295 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.824e-05/0.5563, allocations: 53.23 kB / 0.7295 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.5569, allocations: 403 kB / 0.7299 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.5586, allocations: 2.69 MB / 0.7325 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.5591, allocations: 313.8 kB / 0.7328 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.5593, allocations: 156 kB / 0.733 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5593, allocations: 2.75 kB / 0.733 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5594, allocations: 37.92 kB / 0.733 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 3.526e-06/0.5594, allocations: 0 / 0.733 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.001486/0.5608, allocations: 0.8407 MB / 0.7338 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.5609, allocations: 54.11 kB / 0.7339 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.5612, allocations: 332.8 kB / 0.7342 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5612, allocations: 31.2 kB / 0.7342 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5613, allocations: 255.4 kB / 0.7345 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.5614, allocations: 97.16 kB / 0.7346 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.5614, allocations: 81.39 kB / 0.7346 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.5615, allocations: 341.6 kB / 0.735 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.5617, allocations: 147.2 kB / 0.7351 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.5619, allocations: 295.7 kB / 0.7354 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.5625, allocations: 483 kB / 0.7358 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5625, allocations: 1.25 kB / 0.7358 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007245/0.5632, allocations: 0.5649 MB / 0.7364 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.5632, allocations: 7.469 kB / 0.7364 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5632, allocations: 5.109 kB / 0.7364 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.5634, allocations: 88.11 kB / 0.7365 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.5637, allocations: 91.33 kB / 0.7366 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5637, allocations: 12.42 kB / 0.7366 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5638, allocations: 30.42 kB / 0.7366 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5638, allocations: 21.59 kB / 0.7366 GB, free: 12.56 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.0001574/0.564, allocations: 180.1 kB / 0.7368 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.564, allocations: 42.72 kB / 0.7369 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.5647, allocations: 470.4 kB / 0.7373 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5647, allocations: 3.625 kB / 0.7373 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5647, allocations: 0 / 0.7373 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5647, allocations: 3.156 kB / 0.7373 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5658, allocations: 0.8407 MB / 0.7381 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5659, allocations: 5.75 kB / 0.7381 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.566, allocations: 47.17 kB / 0.7382 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.5662, allocations: 94.31 kB / 0.7383 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.5662, allocations: 6.594 kB / 0.7383 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.5663, allocations: 2.031 kB / 0.7383 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5663, allocations: 1.438 kB / 0.7383 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.567, allocations: 0.5456 MB / 0.7388 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5671, allocations: 57.69 kB / 0.7389 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5671, allocations: 6.953 kB / 0.7389 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5672, allocations: 26.03 kB / 0.7389 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.5673, allocations: 27.47 kB / 0.7389 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.5674, allocations: 6.938 kB / 0.7389 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002136/0.5676, allocations: 222 kB / 0.7391 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 0.7391 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003861/0.568, allocations: 89.25 kB / 0.7392 GB, free: 11.14 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 0.0001384/0.5681, allocations: 103.9 kB / 0.7393 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.5688, allocations: 393.5 kB / 0.7397 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5688, allocations: 1.219 kB / 0.7397 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.5691, allocations: 196.4 kB / 0.7399 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.5696, allocations: 125.6 kB / 0.74 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.5706, allocations: 0.7436 MB / 0.7407 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.5709, allocations: 220.2 kB / 0.7409 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000234/0.5711, allocations: 79.02 kB / 0.741 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.5712, allocations: 33.88 kB / 0.7411 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of SimCode: time 8.02e-07/0.5712, allocations: 0 / 0.7411 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.008994/0.5802, allocations: 4.832 MB / 0.7458 GB, free: 9.695 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.399034769972786] Failed to read output from testmodel.py, exit status != 0: 0.5872993810335174 0.596389335 0.041104075000000004 Calling exit ...