Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001361/0.001361, allocations: 78.8 kB / 19.76 MB, free: 2.031 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.001423/0.001423, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.002486/0.002486, allocations: 241.4 kB / 260 MB, free: 444 kB / 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 0.9285/0.9285, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.003105/0.003105, allocations: 111.8 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4108, allocations: 95.35 MB / 0.7405 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005055/0.4159, allocations: 4.62 MB / 0.745 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.4193, allocations: 2.392 MB / 0.7473 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.4195, allocations: 35.75 kB / 0.7473 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4206, allocations: 409.6 kB / 0.7477 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.4214, allocations: 466 kB / 0.7482 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.4222, allocations: 372.1 kB / 0.7485 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.423, allocations: 0.9206 MB / 0.7494 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.4234, allocations: 316.7 kB / 0.7497 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.4239, allocations: 361.8 kB / 0.7501 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.4243, allocations: 351.2 kB / 0.7504 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.4244, allocations: 38.62 kB / 0.7504 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.425, allocations: 351.2 kB / 0.7508 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.4251, allocations: 184.3 kB / 0.751 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.4254, allocations: 265.2 kB / 0.7512 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.4264, allocations: 0.8947 MB / 0.7521 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4264, allocations: 4 kB / 0.7521 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4264, allocations: 0.8438 kB / 0.7521 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.4264, allocations: 0 / 0.7521 GB, free: 10.71 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001179/0.4276, allocations: 0.8826 MB / 0.7529 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4276, allocations: 14.41 kB / 0.753 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.4289, allocations: 215.2 kB / 0.7532 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.4297, allocations: 476 kB / 0.7536 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.4297, allocations: 35.58 kB / 0.7537 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.4298, allocations: 48.72 kB / 0.7537 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.4307, allocations: 0.9743 MB / 0.7547 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.4307, allocations: 8.203 kB / 0.7547 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.4308, allocations: 20.53 kB / 0.7547 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.781e-05/0.4309, allocations: 70.31 kB / 0.7547 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.4317, allocations: 0.5702 MB / 0.7553 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.4345, allocations: 4.638 MB / 0.7598 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.435, allocations: 417.8 kB / 0.7602 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.4353, allocations: 204.3 kB / 0.7604 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.4353, allocations: 4.375 kB / 0.7604 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.4353, allocations: 36.56 kB / 0.7605 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.4353, allocations: 1.5 kB / 0.7605 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002098/0.4374, allocations: 1.132 MB / 0.7616 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4374, allocations: 59.47 kB / 0.7616 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4378, allocations: 477.3 kB / 0.7621 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4378, allocations: 32.11 kB / 0.7621 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.438, allocations: 372.6 kB / 0.7625 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.438, allocations: 120.2 kB / 0.7626 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4382, allocations: 115.3 kB / 0.7627 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.4382, allocations: 359.2 kB / 0.763 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4385, allocations: 193.2 kB / 0.7632 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.4388, allocations: 448.8 kB / 0.7636 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.4394, allocations: 0.6954 MB / 0.7643 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4394, allocations: 2.594 kB / 0.7643 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00108/0.4405, allocations: 0.806 MB / 0.7651 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4405, allocations: 8.469 kB / 0.7651 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4405, allocations: 8.562 kB / 0.7651 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/0.441, allocations: 155.6 kB / 0.7653 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.4414, allocations: 126.2 kB / 0.7654 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.4447, allocations: 3.974 MB / 0.7693 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.4451, allocations: 34.28 kB / 0.7693 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.4452, allocations: 26.84 kB / 0.7693 GB, free: 12.66 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.4454, allocations: 221 kB / 0.7696 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.4455, allocations: 63.03 kB / 0.7696 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4466, allocations: 0.5922 MB / 0.7702 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4466, allocations: 3.438 kB / 0.7702 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4466, allocations: 1.219 kB / 0.7702 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4466, allocations: 5.203 kB / 0.7702 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4484, allocations: 1.112 MB / 0.7713 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4484, allocations: 2.438 kB / 0.7713 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.4486, allocations: 58.08 kB / 0.7713 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.449, allocations: 141.8 kB / 0.7715 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.4491, allocations: 6.906 kB / 0.7715 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.4525, allocations: 3.956 MB / 0.7753 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4525, allocations: 6.188 kB / 0.7754 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4535, allocations: 0.7085 MB / 0.776 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.4537, allocations: 91.19 kB / 0.7761 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.4538, allocations: 6.75 kB / 0.7761 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4541, allocations: 22.97 kB / 0.7762 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.4541, allocations: 40.2 kB / 0.7762 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4541, allocations: 8.25 kB / 0.7762 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003278/0.4545, allocations: 302.1 kB / 0.7765 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4545, allocations: 0 / 0.7765 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006543/0.4551, allocations: 145.5 kB / 0.7766 GB, free: 6.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.4553, allocations: 112.7 kB / 0.7767 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.4566, allocations: 0.8513 MB / 0.7776 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4566, allocations: 1.375 kB / 0.7776 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.4574, allocations: 0.5799 MB / 0.7781 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.4584, allocations: 199.6 kB / 0.7783 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4599, allocations: 1.039 MB / 0.7793 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4602, allocations: 313.1 kB / 0.7796 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000277/0.4605, allocations: 111.2 kB / 0.7798 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.4606, allocations: 37.5 kB / 0.7798 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.4606, allocations: 5.094 kB / 0.7798 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.01457/0.4752, allocations: 7.81 MB / 0.7874 GB, free: 452 kB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1191177340224385] Failed to read output from testmodel.py, exit status != 0: 0.48339681897778064 0.51078834 0.07923081700000001 Calling exit ...