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.001229/0.001229, allocations: 78.88 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.001394/0.001394, allocations: 173.5 kB / 22.46 MB, free: 5.371 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.198/1.198, allocations: 154.7 MB / 413.9 MB, free: 5.152 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.393e-06/1.393e-06, allocations: 0 / 0.6187 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.616e-05, allocations: 8.609 kB / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005409/0.005435, allocations: 3.578 MB / 0.6222 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.008477, allocations: 1.753 MB / 0.624 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.008641, allocations: 19.81 kB / 0.624 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008929/0.009534, allocations: 274.6 kB / 0.6242 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.01014, allocations: 306.2 kB / 0.6245 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.01068, allocations: 251.3 kB / 0.6248 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.01137, allocations: 0.6091 MB / 0.6254 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.01177, allocations: 231.9 kB / 0.6256 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.01225, allocations: 335.1 kB / 0.6259 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.01257, allocations: 207.4 kB / 0.6261 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.01262, allocations: 28 kB / 0.6261 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.01299, allocations: 251.3 kB / 0.6264 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01313, allocations: 123.6 kB / 0.6265 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.01329, allocations: 135.6 kB / 0.6266 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.014, allocations: 0.6113 MB / 0.6272 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01401, allocations: 0 / 0.6272 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01401, allocations: 0 / 0.6272 GB, free: 11.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.01402, allocations: 0 / 0.6272 GB, free: 11.87 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.001145/0.01516, allocations: 0.6643 MB / 0.6279 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.0152, allocations: 12.03 kB / 0.6279 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.01607, allocations: 144.4 kB / 0.628 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.01664, allocations: 348.6 kB / 0.6283 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.01667, allocations: 24.97 kB / 0.6284 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.01673, allocations: 32.36 kB / 0.6284 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.01762, allocations: 0.6311 MB / 0.629 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.01764, allocations: 3.938 kB / 0.629 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.01768, allocations: 16 kB / 0.629 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.01774, allocations: 36.64 kB / 0.6291 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.01846, allocations: 406.1 kB / 0.6295 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.02111, allocations: 2.675 MB / 0.6321 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.02179, allocations: 314.4 kB / 0.6324 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.02209, allocations: 160.8 kB / 0.6325 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.02212, allocations: 4 kB / 0.6325 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.02214, allocations: 38.5 kB / 0.6326 GB, free: 6.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 5.009e-06/0.02215, allocations: 3.984 kB / 0.6326 GB, free: 6.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001996/0.02414, allocations: 0.8411 MB / 0.6334 GB, free: 5.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.02418, allocations: 63.52 kB / 0.6334 GB, free: 5.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.02452, allocations: 329.5 kB / 0.6338 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.02455, allocations: 29.7 kB / 0.6338 GB, free: 4.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.02473, allocations: 252 kB / 0.634 GB, free: 4.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.02481, allocations: 99.16 kB / 0.6341 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.02494, allocations: 86.09 kB / 0.6342 GB, free: 4.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.02509, allocations: 338.8 kB / 0.6345 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.02538, allocations: 152.9 kB / 0.6347 GB, free: 3.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.02578, allocations: 283.2 kB / 0.6349 GB, free: 3.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.02655, allocations: 495.9 kB / 0.6354 GB, free: 3.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.02656, allocations: 0 / 0.6354 GB, free: 3.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001033/0.02759, allocations: 0.5584 MB / 0.636 GB, free: 2.434 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.02761, allocations: 8 kB / 0.636 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.02761, allocations: 8.031 kB / 0.636 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.02793, allocations: 86.5 kB / 0.6361 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.02826, allocations: 83.89 kB / 0.6361 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.02828, allocations: 15.92 kB / 0.6362 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.02853, allocations: 27.97 kB / 0.6362 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.02856, allocations: 16 kB / 0.6362 GB, free: 2.184 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.0001947/0.02876, allocations: 182.6 kB / 0.6364 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.02882, allocations: 39.77 kB / 0.6364 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.02973, allocations: 463.9 kB / 0.6368 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.02973, allocations: 3.984 kB / 0.6369 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02974, allocations: 4 kB / 0.6369 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.02974, allocations: 3.938 kB / 0.6369 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.03114, allocations: 0.8399 MB / 0.6377 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.03114, allocations: 0 / 0.6377 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.03139, allocations: 51.91 kB / 0.6377 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.03163, allocations: 82.5 kB / 0.6378 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.03165, allocations: 8 kB / 0.6378 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.03165, allocations: 4 kB / 0.6378 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.03166, allocations: 3.938 kB / 0.6378 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.03253, allocations: 0.5436 MB / 0.6384 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.03266, allocations: 63.67 kB / 0.6384 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.03271, allocations: 11.89 kB / 0.6384 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.03293, allocations: 23.97 kB / 0.6384 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.033, allocations: 31.83 kB / 0.6385 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.03302, allocations: 8 kB / 0.6385 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002259/0.03324, allocations: 223.2 kB / 0.6387 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03324, allocations: 0 / 0.6387 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004082/0.03365, allocations: 88 kB / 0.6388 GB, free: 15.41 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.0001311/0.03378, allocations: 107.1 kB / 0.6389 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008083/0.03459, allocations: 403.2 kB / 0.6393 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03459, allocations: 0 / 0.6393 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.03497, allocations: 187.7 kB / 0.6394 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.03562, allocations: 125.4 kB / 0.6396 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.03671, allocations: 0.7094 MB / 0.6403 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.03693, allocations: 224 kB / 0.6405 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.03716, allocations: 83.28 kB / 0.6406 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.03724, allocations: 32.48 kB / 0.6406 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.03724, allocations: 0 / 0.6406 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.009757/0.047, allocations: 4.829 MB / 0.6453 GB, free: 8.812 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.748246364295483] Failed to read output from testmodel.py, exit status != 0: 0.05546560138463974 0.069075861 0.052165334 Calling exit ...