Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 179.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008158, allocations: 82.38 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004415, allocations: 12.17 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003493/0.2558, allocations: 2.878 MB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2578, allocations: 1.356 MB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.258, allocations: 4 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.2582, allocations: 43.64 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.2586, allocations: 135.4 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.2589, allocations: 139.7 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.2593, allocations: 462.6 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.2596, allocations: 248.9 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2598, allocations: 107.6 kB / 0.9061 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2601, allocations: 143.4 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.2601, allocations: 12 kB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.2604, allocations: 203.6 kB / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.2605, allocations: 79.73 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2607, allocations: 137.1 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.261, allocations: 351.1 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.261, allocations: 4 kB / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2611, allocations: 0 / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2611, allocations: 0 / 0.907 GB, free: 57.07 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008067/0.2619, allocations: 0.4913 MB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2619, allocations: 12.03 kB / 0.9075 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.753e-05/0.262, allocations: 58.72 kB / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.2626, allocations: 88.52 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.2629, allocations: 252.5 kB / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2629, allocations: 12.81 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.263, allocations: 24.31 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.2634, allocations: 316.5 kB / 0.9082 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2634, allocations: 7.922 kB / 0.9082 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2635, allocations: 11.98 kB / 0.9083 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.2635, allocations: 16.44 kB / 0.9083 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.2638, allocations: 221.5 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2651, allocations: 1.498 MB / 0.9099 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2655, allocations: 203.7 kB / 0.9101 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.2656, allocations: 44.84 kB / 0.9102 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2656, allocations: 7.938 kB / 0.9102 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.2657, allocations: 34.56 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2657, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005184/0.2662, allocations: 271.4 kB / 0.9105 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.2662, allocations: 55.41 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2664, allocations: 212.3 kB / 0.9107 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2664, allocations: 25.7 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.2665, allocations: 179.6 kB / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2665, allocations: 27.64 kB / 0.911 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2665, allocations: 0 / 0.911 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.2666, allocations: 326.8 kB / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.2667, allocations: 51.97 kB / 0.9113 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.2668, allocations: 110.4 kB / 0.9114 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.267, allocations: 172.4 kB / 0.9116 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.267, allocations: 0 / 0.9116 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003175/0.2674, allocations: 222.2 kB / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2674, allocations: 4.094 kB / 0.9118 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2674, allocations: 11.88 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.2676, allocations: 28.78 kB / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2677, allocations: 35.97 kB / 0.9119 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008461/0.2686, allocations: 1.327 MB / 0.9132 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2687, allocations: 19.78 kB / 0.9132 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2688, allocations: 12 kB / 0.9132 GB, free: 50.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.2689, allocations: 149.9 kB / 0.9134 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2689, allocations: 23.73 kB / 0.9134 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.269, allocations: 17.41 kB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.269, allocations: 0 / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.269, allocations: 4 kB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.269, allocations: 0 / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.2695, allocations: 499.1 kB / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2695, allocations: 0 / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.2696, allocations: 16 kB / 0.9139 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.178e-05/0.2696, allocations: 20.84 kB / 0.9139 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2697, allocations: 7.984 kB / 0.9139 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006329/0.2703, allocations: 1.315 MB / 0.9152 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2703, allocations: 4 kB / 0.9152 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.2706, allocations: 244.7 kB / 0.9154 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.2706, allocations: 100.8 kB / 0.9155 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2707, allocations: 4 kB / 0.9155 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2708, allocations: 4 kB / 0.9155 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2708, allocations: 11.98 kB / 0.9155 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2709, allocations: 8 kB / 0.9156 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001039/0.271, allocations: 145.5 kB / 0.9157 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.271, allocations: 0 / 0.9157 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003216/0.2713, allocations: 55.84 kB / 0.9157 GB, free: 47.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004552/0.2718, allocations: 0.7804 MB / 0.9165 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.2722, allocations: 230.5 kB / 0.9167 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2722, allocations: 0.5625 kB / 0.9167 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2724, allocations: 166.7 kB / 0.9169 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2728, allocations: 48.02 kB / 0.9169 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2747, allocations: 2.254 MB / 0.9191 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.2749, allocations: 0.7553 MB / 0.9199 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.275, allocations: 25.53 kB / 0.9199 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.2751, allocations: 63.41 kB / 0.92 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2751, allocations: 0 / 0.92 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.2894, allocations: 3.655 MB / 0.9235 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.2897, allocations: 241.2 kB / 0.9238 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.177, allocations: 0 / 0.9238 GB, free: 39.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)