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.00133/0.00133, allocations: 93.06 kB / 19.65 MB, free: 276 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.00141/0.00141, allocations: 169 kB / 23.02 MB, free: 1.551 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.9127/0.9127, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.002317/0.002317, allocations: 237.3 kB / 260.2 MB, free: 12.81 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.6941/0.6941, allocations: 138.4 MB / 455.2 MB, free: 29.87 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.473e-06/1.473e-06, allocations: 0 / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.059e-05, allocations: 2.312 kB / 0.5551 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003015/0.003036, allocations: 3.131 MB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004334, allocations: 1.119 MB / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004474, allocations: 23.75 kB / 0.5593 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.004901, allocations: 131 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.005214, allocations: 246.4 kB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.00548, allocations: 203.6 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.005915, allocations: 0.6283 MB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.006221, allocations: 239.3 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.006541, allocations: 343.1 kB / 0.561 GB, free: 10.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.006755, allocations: 199.4 kB / 0.5612 GB, free: 9.883 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.00679, allocations: 28 kB / 0.5612 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.006996, allocations: 91.8 kB / 0.5613 GB, free: 9.766 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.007093, allocations: 127.6 kB / 0.5614 GB, free: 9.641 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.0072, allocations: 147.6 kB / 0.5616 GB, free: 9.496 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.007525, allocations: 370.6 kB / 0.5619 GB, free: 9.133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.007529, allocations: 4 kB / 0.5619 GB, free: 9.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007529, allocations: 0 / 0.5619 GB, free: 9.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007535, allocations: 0 / 0.5619 GB, free: 9.129 MB / 490.7 MB 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.0006946/0.008229, allocations: 0.7332 MB / 0.5626 GB, free: 8.359 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.008264, allocations: 13.94 kB / 0.5626 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.008791, allocations: 196.2 kB / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.00914, allocations: 363.4 kB / 0.5632 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.009158, allocations: 21.03 kB / 0.5632 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.009201, allocations: 36.31 kB / 0.5632 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.009636, allocations: 0.552 MB / 0.5638 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.00965, allocations: 3.938 kB / 0.5638 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.009673, allocations: 19.98 kB / 0.5638 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.00972, allocations: 48.61 kB / 0.5638 GB, free: 6.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.009956, allocations: 187.6 kB / 0.564 GB, free: 6.797 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01154, allocations: 3.535 MB / 0.5675 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.01186, allocations: 200.6 kB / 0.5677 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.01195, allocations: 79.53 kB / 0.5677 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.01197, allocations: 4 kB / 0.5677 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01199, allocations: 45.33 kB / 0.5678 GB, free: 2.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.01199, allocations: 0 / 0.5678 GB, free: 2.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009463/0.01294, allocations: 499.7 kB / 0.5683 GB, free: 2.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.01297, allocations: 63.62 kB / 0.5683 GB, free: 2.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01318, allocations: 378.5 kB / 0.5687 GB, free: 1.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.0132, allocations: 33.7 kB / 0.5687 GB, free: 1.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01331, allocations: 290.8 kB / 0.569 GB, free: 1.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.01336, allocations: 103.2 kB / 0.5691 GB, free: 1.371 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.01344, allocations: 83.75 kB / 0.5692 GB, free: 1.281 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.01355, allocations: 0.5118 MB / 0.5697 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.01364, allocations: 64.95 kB / 0.5697 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.0138, allocations: 274.5 kB / 0.57 GB, free: 348 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.01409, allocations: 367.9 kB / 0.5703 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01409, allocations: 0 / 0.5703 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004306/0.01452, allocations: 417.1 kB / 0.5707 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01453, allocations: 6.656 kB / 0.5707 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01454, allocations: 8 kB / 0.5708 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.01471, allocations: 66.95 kB / 0.5708 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.01488, allocations: 88.44 kB / 0.5709 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.01489, allocations: 15.94 kB / 0.5709 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01501, allocations: 23.97 kB / 0.5709 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.01502, allocations: 20 kB / 0.571 GB, free: 15.24 MB / 0.4948 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 9.714e-05/0.01512, allocations: 180.4 kB / 0.5711 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.01517, allocations: 55.72 kB / 0.5712 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.01551, allocations: 282 kB / 0.5715 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01551, allocations: 7.938 kB / 0.5715 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01552, allocations: 4 kB / 0.5715 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01552, allocations: 0 / 0.5715 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.01615, allocations: 0.6824 MB / 0.5721 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01615, allocations: 0 / 0.5721 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01626, allocations: 43.97 kB / 0.5722 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.01637, allocations: 66.94 kB / 0.5722 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01639, allocations: 8 kB / 0.5722 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01639, allocations: 0 / 0.5722 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.01639, allocations: 15.97 kB / 0.5723 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.01672, allocations: 441.8 kB / 0.5727 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.0168, allocations: 59.69 kB / 0.5727 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.01683, allocations: 8 kB / 0.5727 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.01692, allocations: 19.97 kB / 0.5728 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01698, allocations: 27.89 kB / 0.5728 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01699, allocations: 8 kB / 0.5728 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001179/0.0171, allocations: 247.1 kB / 0.573 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0171, allocations: 0 / 0.573 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002401/0.01734, allocations: 88 kB / 0.5731 GB, free: 12.88 MB / 0.4948 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 7.518e-05/0.01742, allocations: 107.2 kB / 0.5732 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.01775, allocations: 258 kB / 0.5735 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01775, allocations: 0 / 0.5735 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.01788, allocations: 136.5 kB / 0.5736 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.01829, allocations: 126.4 kB / 0.5737 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.01912, allocations: 0.6623 MB / 0.5744 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.565e-05/0.01918, allocations: 117.5 kB / 0.5745 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.0193, allocations: 79.25 kB / 0.5745 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.01936, allocations: 28.5 kB / 0.5746 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01936, allocations: 0 / 0.5746 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.006276/0.02564, allocations: 4.827 MB / 0.5793 GB, free: 6.613 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.662583976984024]