Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007762/0.0007762, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007676/0.0007676, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8426/0.8426, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001355/0.001355, allocations: 230.8 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6794/0.6794, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.055e-05, allocations: 9.031 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.2129/0.213, allocations: 3.579 MB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2146, allocations: 1.742 MB / 0.6527 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2147, allocations: 26.69 kB / 0.6527 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.2153, allocations: 263.5 kB / 0.653 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.2156, allocations: 319.4 kB / 0.6533 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2159, allocations: 249.5 kB / 0.6535 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.2163, allocations: 0.6297 MB / 0.6542 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.2166, allocations: 236.3 kB / 0.6544 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.2169, allocations: 348 kB / 0.6547 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.2171, allocations: 203.2 kB / 0.6549 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.2171, allocations: 24.84 kB / 0.6549 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.2174, allocations: 248.4 kB / 0.6552 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.2175, allocations: 127.4 kB / 0.6553 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2176, allocations: 139 kB / 0.6554 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.2181, allocations: 0.6042 MB / 0.656 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2181, allocations: 1.312 kB / 0.656 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2181, allocations: 0 / 0.656 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2181, allocations: 3.938 kB / 0.656 GB, free: 53.36 MB / 0.5573 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.0007247/0.2188, allocations: 0.6699 MB / 0.6567 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2188, allocations: 13.78 kB / 0.6567 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.2193, allocations: 139.9 kB / 0.6568 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.2197, allocations: 342.2 kB / 0.6571 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2197, allocations: 21.31 kB / 0.6572 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.2197, allocations: 31.64 kB / 0.6572 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.2202, allocations: 0.6309 MB / 0.6578 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2202, allocations: 2.062 kB / 0.6578 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2203, allocations: 13.5 kB / 0.6578 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.2203, allocations: 46.23 kB / 0.6579 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.2207, allocations: 407.3 kB / 0.6583 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.222, allocations: 2.683 MB / 0.6609 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.2224, allocations: 305.7 kB / 0.6612 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2226, allocations: 164.8 kB / 0.6613 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2226, allocations: 5.531 kB / 0.6613 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.2226, allocations: 46.61 kB / 0.6614 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.2226, allocations: 0 / 0.6614 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.001119/0.2237, allocations: 0.8315 MB / 0.6622 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2238, allocations: 56.77 kB / 0.6622 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2239, allocations: 332.8 kB / 0.6626 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.224, allocations: 31.61 kB / 0.6626 GB, free: 48.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.224, allocations: 256.2 kB / 0.6628 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2241, allocations: 99.48 kB / 0.6629 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.2241, allocations: 77.22 kB / 0.663 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.2242, allocations: 346 kB / 0.6633 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2243, allocations: 148.1 kB / 0.6635 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.2245, allocations: 295.5 kB / 0.6638 GB, free: 47.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.2249, allocations: 487.3 kB / 0.6642 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2249, allocations: 1.688 kB / 0.6642 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005586/0.2255, allocations: 0.5556 MB / 0.6648 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2255, allocations: 11.16 kB / 0.6648 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2255, allocations: 5.031 kB / 0.6648 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.2257, allocations: 92.25 kB / 0.6649 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.2259, allocations: 85.38 kB / 0.6649 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2259, allocations: 11.59 kB / 0.665 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.226, allocations: 32.58 kB / 0.665 GB, free: 47.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.226, allocations: 18.5 kB / 0.665 GB, free: 47.35 MB / 0.5573 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.0001017/0.2261, allocations: 179.6 kB / 0.6652 GB, free: 47.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.2261, allocations: 43.03 kB / 0.6652 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.2266, allocations: 464.3 kB / 0.6657 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2266, allocations: 8.062 kB / 0.6657 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2266, allocations: 0.7031 kB / 0.6657 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2267, allocations: 1.359 kB / 0.6657 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.2274, allocations: 0.8404 MB / 0.6665 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2274, allocations: 1.531 kB / 0.6665 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2275, allocations: 49.17 kB / 0.6665 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.2277, allocations: 84 kB / 0.6666 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2277, allocations: 5.969 kB / 0.6666 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2277, allocations: 2.562 kB / 0.6666 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2277, allocations: 5.781 kB / 0.6666 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.2281, allocations: 0.5409 MB / 0.6672 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.2282, allocations: 62.12 kB / 0.6672 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.2282, allocations: 7.5 kB / 0.6672 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2283, allocations: 22.08 kB / 0.6673 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.2284, allocations: 23.98 kB / 0.6673 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2284, allocations: 6.484 kB / 0.6673 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001189/0.2285, allocations: 226.1 kB / 0.6675 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2285, allocations: 0 / 0.6675 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002511/0.2288, allocations: 91.47 kB / 0.6676 GB, free: 45.95 MB / 0.5573 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.03e-05/0.2289, allocations: 108.1 kB / 0.6677 GB, free: 45.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.2293, allocations: 399.6 kB / 0.6681 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.2293, allocations: 0 / 0.6681 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2295, allocations: 197.3 kB / 0.6683 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2299, allocations: 124.2 kB / 0.6684 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.2306, allocations: 0.7548 MB / 0.6691 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2307, allocations: 220.8 kB / 0.6693 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.2308, allocations: 37.98 kB / 0.6694 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2308, allocations: 0 / 0.6694 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of Templates: time 0.008508/0.2393, allocations: 9.565 MB / 0.6787 GB, free: 44.42 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.00323599204421] Failed to read output from testmodel.py, exit status != 0: 0.24538034945726395 0.252100893 0.032415400000000004 Calling exit ...