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.0006618/0.0006618, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008891/0.001551, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006622/0.0006622, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009136/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9664/0.9664, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07725/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001336/0.001336, allocations: 243.3 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002585, allocations: 463.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6948/0.6948, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08574/0.7805, allocations: 42.41 MB / 426.7 MB, free: 5.812 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.433e-06/1.433e-06, allocations: 0 / 428 MB, free: 4.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.042e-05, allocations: 2.312 kB / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004547/0.004568, allocations: 3.165 MB / 431.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.006705, allocations: 1.165 MB / 432.4 MB, free: 124 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.006913, allocations: 23.75 kB / 432.4 MB, free: 100 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1974/0.2043, allocations: 145.2 kB / 432.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006823/0.205, allocations: 258.9 kB / 432.8 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.2055, allocations: 208.4 kB / 433 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.2061, allocations: 0.6453 MB / 433.6 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.2064, allocations: 222.5 kB / 433.9 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.2068, allocations: 376.5 kB / 434.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.2071, allocations: 229 kB / 434.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2071, allocations: 26.06 kB / 434.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.2073, allocations: 93.34 kB / 434.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.2074, allocations: 108.7 kB / 434.7 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.2075, allocations: 113.9 kB / 434.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.2078, allocations: 342.1 kB / 435.1 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.2079, allocations: 0 / 435.1 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2079, allocations: 0 / 435.1 MB, free: 0.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.2079, allocations: 0 / 435.1 MB, free: 0.918 MB / 410.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.0007631/0.2086, allocations: 0.7006 MB / 435.8 MB, free: 16.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2087, allocations: 17.12 kB / 435.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.2091, allocations: 219.8 kB / 436.1 MB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.2095, allocations: 330.3 kB / 436.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2095, allocations: 23.66 kB / 436.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.2095, allocations: 33.38 kB / 436.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.2099, allocations: 482.3 kB / 436.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2099, allocations: 9.469 kB / 436.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.21, allocations: 14.72 kB / 436.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.21, allocations: 42.33 kB / 437 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.2102, allocations: 146.5 kB / 437.1 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2115, allocations: 2.361 MB / 439.5 MB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.2117, allocations: 204.9 kB / 439.7 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.2118, allocations: 50.25 kB / 439.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2118, allocations: 5.375 kB / 439.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2118, allocations: 41.62 kB / 439.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.2118, allocations: 0 / 439.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006857/0.2125, allocations: 374 kB / 440.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.2125, allocations: 56.61 kB / 440.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2127, allocations: 317.7 kB / 440.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2127, allocations: 33.86 kB / 440.5 MB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.2128, allocations: 224.1 kB / 440.8 MB, free: 13.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.2129, allocations: 101.9 kB / 440.9 MB, free: 13.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.213, allocations: 74.94 kB / 440.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.213, allocations: 353.1 kB / 441.3 MB, free: 12.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.2131, allocations: 40.14 kB / 441.3 MB, free: 12.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2132, allocations: 188.4 kB / 441.5 MB, free: 12.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.2134, allocations: 291 kB / 441.8 MB, free: 12.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2134, allocations: 3.844 kB / 441.8 MB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003486/0.2138, allocations: 320.9 kB / 442.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2138, allocations: 7.672 kB / 442.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2138, allocations: 5.734 kB / 442.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.214, allocations: 70.33 kB / 442.2 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2141, allocations: 87.97 kB / 442.3 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2142, allocations: 15.14 kB / 442.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2143, allocations: 13.02 kB / 442.3 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2143, allocations: 15.47 kB / 442.3 MB, free: 12.52 MB / 426.7 MB 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.014e-05/0.2144, allocations: 138.7 kB / 442.4 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.2144, allocations: 40.27 kB / 442.5 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.2147, allocations: 224.6 kB / 442.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2147, allocations: 2.953 kB / 442.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2147, allocations: 6.094 kB / 442.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2147, allocations: 1.641 kB / 442.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.2152, allocations: 0.5286 MB / 443.2 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2152, allocations: 1 kB / 443.2 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.2153, allocations: 46.75 kB / 443.3 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.2154, allocations: 44.44 kB / 443.3 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.2155, allocations: 68.77 kB / 443.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2155, allocations: 6.656 kB / 443.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2155, allocations: 1.953 kB / 443.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2155, allocations: 2.875 kB / 443.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.2158, allocations: 372.8 kB / 443.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2158, allocations: 11.22 kB / 443.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/0.2159, allocations: 11.31 kB / 443.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.216, allocations: 24.02 kB / 443.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.216, allocations: 4.562 kB / 443.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.2161, allocations: 121.3 kB / 443.9 MB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2161, allocations: 0 / 443.9 MB, free: 11.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.2163, allocations: 87.25 kB / 444 MB, free: 11.71 MB / 426.7 MB 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 9.336e-05/0.2164, allocations: 88.22 kB / 444.1 MB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.2167, allocations: 221.3 kB / 444.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/0.2168, allocations: 8.047 kB / 444.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.2169, allocations: 120.8 kB / 444.5 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.2177, allocations: 1.13 MB / 445.6 MB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.2194, allocations: 0.6996 MB / 446.3 MB, free: 10 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.2195, allocations: 117.1 kB / 446.4 MB, free: 9.934 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2196, allocations: 48.58 kB / 446.4 MB, free: 9.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2198, allocations: 137 kB / 446.6 MB, free: 9.879 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2198, allocations: 0 / 446.6 MB, free: 9.879 MB / 426.7 MB Notification: Performance of Templates: time 0.006872/0.2266, allocations: 5.203 MB / 451.8 MB, free: 7.809 MB / 426.7 MB " [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.4077748088166118]