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.002383/0.002383, allocations: 81.5 kB / 19.44 MB, free: 344 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.002892/0.002892, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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-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 1.361/1.361, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 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.643e-06/1.643e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.995e-05, allocations: 6.203 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005985/0.006015, allocations: 3.732 MB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.009494, allocations: 1.831 MB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.009706, allocations: 23.81 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009392/0.01065, allocations: 265.1 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.01144, allocations: 316.2 kB / 0.5256 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.01208, allocations: 261.4 kB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.01295, allocations: 0.6244 MB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.01341, allocations: 231.3 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.014, allocations: 340.2 kB / 0.527 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.01439, allocations: 208.9 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.01445, allocations: 24 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.01496, allocations: 255.2 kB / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01513, allocations: 128.7 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.01532, allocations: 135.6 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008572/0.01618, allocations: 0.6113 MB / 0.5283 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01618, allocations: 0.6875 kB / 0.5283 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01619, allocations: 0 / 0.5283 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.01619, allocations: 1.281 kB / 0.5283 GB, free: 9.594 MB / 0.4948 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.0013/0.01749, allocations: 0.7828 MB / 0.5291 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.01753, allocations: 8.031 kB / 0.5291 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.01853, allocations: 192.3 kB / 0.5293 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.01918, allocations: 367.2 kB / 0.5296 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.01922, allocations: 25.02 kB / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.01928, allocations: 36.31 kB / 0.5297 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.02012, allocations: 0.5684 MB / 0.5303 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.02014, allocations: 7.891 kB / 0.5303 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.02019, allocations: 16 kB / 0.5303 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.02026, allocations: 40.62 kB / 0.5303 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.0208, allocations: 248.6 kB / 0.5306 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.02437, allocations: 3.62 MB / 0.5341 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.02493, allocations: 207 kB / 0.5343 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.02515, allocations: 89.58 kB / 0.5344 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.02517, allocations: 8 kB / 0.5344 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.02521, allocations: 41.33 kB / 0.5344 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.02521, allocations: 0 / 0.5344 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.001734/0.02695, allocations: 0.5563 MB / 0.535 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.027, allocations: 63.58 kB / 0.535 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.02746, allocations: 426.5 kB / 0.5354 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.02749, allocations: 29.7 kB / 0.5355 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.02773, allocations: 310.8 kB / 0.5358 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.02783, allocations: 104.7 kB / 0.5359 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.02798, allocations: 91.75 kB / 0.5359 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003105/0.02829, allocations: 0.5313 MB / 0.5365 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.02849, allocations: 84.95 kB / 0.5365 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.02888, allocations: 291.8 kB / 0.5368 GB, free: 436 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.02954, allocations: 417.6 kB / 0.5372 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02955, allocations: 1.531 kB / 0.5372 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000912/0.03046, allocations: 456.1 kB / 0.5377 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.03048, allocations: 10 kB / 0.5377 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.03049, allocations: 4 kB / 0.5377 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.0308, allocations: 75.02 kB / 0.5377 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.03123, allocations: 92.59 kB / 0.5378 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.03124, allocations: 8 kB / 0.5378 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.03148, allocations: 25.25 kB / 0.5379 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.03152, allocations: 27.92 kB / 0.5379 GB, free: 15.23 MB / 0.5105 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.0002077/0.03172, allocations: 193.7 kB / 0.5381 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.03181, allocations: 51.72 kB / 0.5381 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.03259, allocations: 321.9 kB / 0.5384 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.03259, allocations: 0 / 0.5384 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.0326, allocations: 5.281 kB / 0.5384 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0326, allocations: 0 / 0.5384 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.03398, allocations: 0.7701 MB / 0.5392 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.03399, allocations: 4 kB / 0.5392 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.03422, allocations: 43.97 kB / 0.5392 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.03446, allocations: 71.64 kB / 0.5393 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.03448, allocations: 12.83 kB / 0.5393 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.03448, allocations: 4 kB / 0.5393 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.03449, allocations: 5.719 kB / 0.5393 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.03536, allocations: 483.3 kB / 0.5398 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.03553, allocations: 63.69 kB / 0.5398 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.03558, allocations: 4 kB / 0.5399 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.03578, allocations: 25.16 kB / 0.5399 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.03585, allocations: 23.95 kB / 0.5399 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.03588, allocations: 4 kB / 0.5399 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002763/0.03616, allocations: 276 kB / 0.5402 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03616, allocations: 0 / 0.5402 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004166/0.03658, allocations: 88.84 kB / 0.5402 GB, free: 12.67 MB / 0.5105 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.0001453/0.03672, allocations: 113.6 kB / 0.5404 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006945/0.03741, allocations: 296.1 kB / 0.5406 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03742, allocations: 0 / 0.5406 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.03774, allocations: 159.5 kB / 0.5408 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.03847, allocations: 127.6 kB / 0.5409 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.0397, allocations: 0.6797 MB / 0.5416 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.03997, allocations: 217.2 kB / 0.5418 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.04018, allocations: 64.58 kB / 0.5418 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.04026, allocations: 28.5 kB / 0.5419 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.04026, allocations: 1.031 kB / 0.5419 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.01078/0.05105, allocations: 4.806 MB / 0.5466 GB, free: 6.391 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.200067696045153]