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.00127/0.00127, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001404/0.001404, allocations: 212.5 kB / 23 MB, free: 4.605 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.002509/0.002509, allocations: 289.5 kB / 313.5 MB, free: 2.816 MB / 238.1 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 1.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 12.9 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002969/0.002969, allocations: 101 kB / 0.7408 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1759, allocations: 95.38 MB / 0.834 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00563/0.1815, allocations: 3.878 MB / 0.8377 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.1848, allocations: 1.882 MB / 0.8396 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.185, allocations: 27.75 kB / 0.8396 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.1859, allocations: 279.4 kB / 0.8399 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.1866, allocations: 314.5 kB / 0.8402 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.1872, allocations: 249.2 kB / 0.8404 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.1879, allocations: 0.6091 MB / 0.841 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.1883, allocations: 235.8 kB / 0.8412 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.1887, allocations: 255.1 kB / 0.8415 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.189, allocations: 246.9 kB / 0.8417 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.1891, allocations: 28 kB / 0.8417 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.1896, allocations: 283.4 kB / 0.842 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1897, allocations: 123.6 kB / 0.8421 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.1899, allocations: 206.9 kB / 0.8423 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.1906, allocations: 0.5797 MB / 0.8429 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1906, allocations: 3.938 kB / 0.8429 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1906, allocations: 0 / 0.8429 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1906, allocations: 0 / 0.8429 GB, free: 14.95 MB / 0.5919 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.001182/0.1918, allocations: 0.6837 MB / 0.8436 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1919, allocations: 13.34 kB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.1927, allocations: 132.5 kB / 0.8437 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.1933, allocations: 345.3 kB / 0.844 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1933, allocations: 25.02 kB / 0.844 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.1933, allocations: 32.31 kB / 0.8441 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.1942, allocations: 0.555 MB / 0.8446 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1942, allocations: 7.938 kB / 0.8446 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.1942, allocations: 15.98 kB / 0.8446 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.1943, allocations: 40.62 kB / 0.8447 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.195, allocations: 414.1 kB / 0.8451 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.1981, allocations: 3.259 MB / 0.8483 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.1988, allocations: 318.5 kB / 0.8486 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.199, allocations: 156.8 kB / 0.8487 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1991, allocations: 7.938 kB / 0.8487 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1991, allocations: 34.56 kB / 0.8488 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.472e-06/0.1991, allocations: 0 / 0.8488 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.001904/0.201, allocations: 0.8372 MB / 0.8496 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2011, allocations: 55.64 kB / 0.8496 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.2014, allocations: 349.6 kB / 0.85 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2014, allocations: 29.7 kB / 0.85 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2016, allocations: 260 kB / 0.8502 GB, free: 7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.2017, allocations: 95.17 kB / 0.8503 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2018, allocations: 70.09 kB / 0.8504 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.202, allocations: 346.8 kB / 0.8507 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.2022, allocations: 156.8 kB / 0.8509 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.2026, allocations: 290.5 kB / 0.8511 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.2033, allocations: 490.5 kB / 0.8516 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2033, allocations: 4 kB / 0.8516 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009625/0.2043, allocations: 0.566 MB / 0.8522 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2043, allocations: 5.875 kB / 0.8522 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2043, allocations: 8 kB / 0.8522 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.2046, allocations: 78.52 kB / 0.8523 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.2049, allocations: 91.81 kB / 0.8523 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2049, allocations: 16.27 kB / 0.8524 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.2052, allocations: 27.92 kB / 0.8524 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2052, allocations: 19.98 kB / 0.8524 GB, free: 4.605 MB / 0.5919 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.0001893/0.2054, allocations: 178.3 kB / 0.8526 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.2055, allocations: 39.77 kB / 0.8526 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.2064, allocations: 464.3 kB / 0.8531 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2064, allocations: 4 kB / 0.8531 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2064, allocations: 3.984 kB / 0.8531 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2064, allocations: 0 / 0.8531 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.2078, allocations: 0.9471 MB / 0.854 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2078, allocations: 0 / 0.854 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.2081, allocations: 43.97 kB / 0.854 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.2083, allocations: 86.44 kB / 0.8541 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2083, allocations: 4 kB / 0.8541 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2083, allocations: 8.094 kB / 0.8541 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2083, allocations: 0 / 0.8541 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.2091, allocations: 0.5431 MB / 0.8547 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.2093, allocations: 63.69 kB / 0.8547 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.2093, allocations: 4 kB / 0.8547 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2095, allocations: 23.97 kB / 0.8547 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2096, allocations: 27.89 kB / 0.8548 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2096, allocations: 8 kB / 0.8548 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002251/0.2098, allocations: 231.2 kB / 0.855 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2098, allocations: 0 / 0.855 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004115/0.2102, allocations: 92 kB / 0.8551 GB, free: 1.727 MB / 0.5919 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.0001309/0.2104, allocations: 107.2 kB / 0.8552 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.2111, allocations: 403.1 kB / 0.8556 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2111, allocations: 0 / 0.8556 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.2115, allocations: 193.6 kB / 0.8558 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.2122, allocations: 132.4 kB / 0.8559 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2133, allocations: 0.7846 MB / 0.8567 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.2138, allocations: 0.8195 MB / 0.8575 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2139, allocations: 35.42 kB / 0.8575 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of SimCode: time 6.32e-07/0.2139, allocations: 0 / 0.8575 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.01278/0.2267, allocations: 9.492 MB / 0.8668 GB, free: 5.719 MB / 0.6075 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: 9.748760723043233] Failed to read output from testmodel.py, exit status != 0: 0.23427625512704253 0.24891854199999996 0.055240562 Calling exit ...