Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 174.2 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.572/2.572, allocations: 205.4 MB / 0.5767 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001042, allocations: 92.86 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 11.78 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003978/0.2205, allocations: 2.63 MB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.2239, allocations: 1.657 MB / 0.9032 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2242, allocations: 7.938 kB / 0.9032 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.2244, allocations: 31.72 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.225, allocations: 159.3 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.2258, allocations: 179.6 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.2263, allocations: 422.6 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.2272, allocations: 390.5 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2275, allocations: 127.5 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.2279, allocations: 171.4 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.228, allocations: 12 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.2284, allocations: 135.8 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2285, allocations: 91.7 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.2286, allocations: 65.58 kB / 0.9049 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.2291, allocations: 339.2 kB / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2291, allocations: 0 / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2291, allocations: 0 / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2291, allocations: 0 / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001458/0.2306, allocations: 0.6136 MB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2306, allocations: 11.97 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/0.2316, allocations: 100.5 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.2321, allocations: 275.8 kB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2321, allocations: 12.81 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.2322, allocations: 20.38 kB / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.2333, allocations: 434.7 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2334, allocations: 0 / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.2334, allocations: 8 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.2335, allocations: 24.36 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.2349, allocations: 416.7 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.2374, allocations: 1.619 MB / 0.9087 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.2393, allocations: 481.1 kB / 0.9091 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.24, allocations: 205.6 kB / 0.9093 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.2402, allocations: 89.09 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008409/0.241, allocations: 278.5 kB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/0.2411, allocations: 0 / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002893/0.244, allocations: 0.778 MB / 0.9105 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.244, allocations: 89.09 kB / 0.9105 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.2443, allocations: 220.9 kB / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.2443, allocations: 33.7 kB / 0.9108 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2445, allocations: 168.4 kB / 0.9109 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.2446, allocations: 90.66 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2446, allocations: 7.938 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.2447, allocations: 338.8 kB / 0.9114 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.2454, allocations: 180.2 kB / 0.9115 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.2461, allocations: 249.3 kB / 0.9118 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.2469, allocations: 245.8 kB / 0.912 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2469, allocations: 0 / 0.912 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001844/0.2487, allocations: 0.556 MB / 0.9125 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2489, allocations: 186.5 kB / 0.9127 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2489, allocations: 7.938 kB / 0.9127 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.2493, allocations: 44.77 kB / 0.9128 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.25, allocations: 91.86 kB / 0.9129 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2516, allocations: 1.501 MB / 0.9143 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.2522, allocations: 59.86 kB / 0.9144 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.2523, allocations: 12 kB / 0.9144 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2523, allocations: 2.031 kB / 0.9144 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/0.254, allocations: 0.495 MB / 0.9149 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2541, allocations: 7.938 kB / 0.9149 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.2543, allocations: 44.75 kB / 0.9149 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.255, allocations: 88.03 kB / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.2563, allocations: 1.477 MB / 0.9165 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.257, allocations: 51.88 kB / 0.9165 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.257, allocations: 15.98 kB / 0.9165 GB, free: 47.19 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.2573, allocations: 237 kB / 0.9167 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.2574, allocations: 23.72 kB / 0.9168 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.2591, allocations: 0.4896 MB / 0.9172 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2591, allocations: 3.984 kB / 0.9173 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2591, allocations: 4 kB / 0.9173 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2591, allocations: 144 / 0.9173 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.26, allocations: 0.57 MB / 0.9178 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.26, allocations: 4.062 kB / 0.9178 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.2607, allocations: 79.86 kB / 0.9179 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.261, allocations: 48.91 kB / 0.9179 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.261, allocations: 4 kB / 0.9179 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.2623, allocations: 1.409 MB / 0.9193 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2623, allocations: 0 / 0.9193 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.2639, allocations: 0.5672 MB / 0.9199 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.2642, allocations: 136.6 kB / 0.92 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.2643, allocations: 8 kB / 0.92 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.2648, allocations: 39.95 kB / 0.92 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.265, allocations: 27.95 kB / 0.9201 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.265, allocations: 12 kB / 0.9201 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002118/0.2653, allocations: 184.4 kB / 0.9203 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.194e-06/0.2653, allocations: 0 / 0.9203 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008049/0.2661, allocations: 127.9 kB / 0.9204 GB, free: 42.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.2663, allocations: 112.4 kB / 0.9205 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002855/0.2692, allocations: 1.01 MB / 0.9215 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2692, allocations: 0 / 0.9215 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.2702, allocations: 338.8 kB / 0.9218 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2709, allocations: 52.28 kB / 0.9219 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.2727, allocations: 0.744 MB / 0.9226 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.273, allocations: 0.78 MB / 0.9233 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000536/0.2736, allocations: 98.33 kB / 0.9234 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2738, allocations: 31.42 kB / 0.9235 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.423e-06/0.2738, allocations: 0 / 0.9235 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.01221/0.286, allocations: 4.033 MB / 0.9274 GB, free: 35.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)