Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.4 MB / 303.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 182.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.6307 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.0007491, allocations: 88.42 kB / 0.7441 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 11.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003213/0.2569, allocations: 2.771 MB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.259, allocations: 1.279 MB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.2593, allocations: 7.938 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.2596, allocations: 39.7 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.2601, allocations: 123.4 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.2606, allocations: 99.73 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.2611, allocations: 378.7 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.2615, allocations: 219.3 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2618, allocations: 115.5 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.2622, allocations: 131.5 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.2623, allocations: 12 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.2626, allocations: 87.81 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.2627, allocations: 71.78 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.2627, allocations: 65.58 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.2631, allocations: 263.6 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2631, allocations: 0 / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2631, allocations: 0 / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.2631, allocations: 0 / 0.9851 GB, free: 21.87 MB / 0.6198 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.001013/0.2641, allocations: 0.5105 MB / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.2642, allocations: 12.02 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.2643, allocations: 66.53 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.265, allocations: 83.59 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.2653, allocations: 240.5 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2654, allocations: 12.44 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.2654, allocations: 27.92 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.266, allocations: 308.4 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.266, allocations: 0 / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.2661, allocations: 4 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.2661, allocations: 28.36 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.2665, allocations: 217.5 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.2681, allocations: 1.502 MB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.2685, allocations: 199.7 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.2686, allocations: 48.83 kB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2686, allocations: 4 kB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2687, allocations: 38.5 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2687, allocations: 0 / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006156/0.2693, allocations: 267.4 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.2694, allocations: 51.41 kB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2695, allocations: 212.3 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2696, allocations: 25.7 kB / 0.9889 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.2696, allocations: 171.7 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.2697, allocations: 39.48 kB / 0.9891 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.2697, allocations: 0 / 0.9891 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.2698, allocations: 330.8 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.2699, allocations: 43.97 kB / 0.9894 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.27, allocations: 110.4 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2701, allocations: 71.84 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2701, allocations: 0 / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003728/0.2705, allocations: 222 kB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2705, allocations: 4 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2706, allocations: 4 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.2707, allocations: 25.12 kB / 0.9898 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2709, allocations: 47.91 kB / 0.9899 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007957/0.2717, allocations: 1.315 MB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2719, allocations: 23.69 kB / 0.9912 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2719, allocations: 12 kB / 0.9912 GB, free: 15.09 MB / 0.6198 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.272, allocations: 145.8 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.2721, allocations: 15.81 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.2721, allocations: 17.41 kB / 0.9914 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2721, allocations: 0 / 0.9914 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2721, allocations: 8.156 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2721, allocations: 3.984 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.2727, allocations: 499.2 kB / 0.9919 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2727, allocations: 0 / 0.9919 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.2728, allocations: 8 kB / 0.9919 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-05/0.2729, allocations: 32.78 kB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2729, allocations: 7.984 kB / 0.9919 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.2737, allocations: 1.319 MB / 0.9932 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2737, allocations: 0 / 0.9932 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.274, allocations: 232.1 kB / 0.9934 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.2741, allocations: 104.8 kB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2741, allocations: 12.05 kB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2743, allocations: 8 kB / 0.9935 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2743, allocations: 7.984 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2743, allocations: 0 / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001066/0.2744, allocations: 144.2 kB / 0.9937 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2744, allocations: 0 / 0.9937 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003246/0.2748, allocations: 55.84 kB / 0.9937 GB, free: 12.25 MB / 0.6198 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005035/0.2753, allocations: 0.7834 MB / 0.9945 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.2757, allocations: 234.6 kB / 0.9947 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2758, allocations: 3.938 kB / 0.9947 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2759, allocations: 162.6 kB / 0.9949 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.2763, allocations: 41.81 kB / 0.9949 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2778, allocations: 1.131 MB / 0.996 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.278, allocations: 0.7632 MB / 0.9968 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.2782, allocations: 25.53 kB / 0.9968 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.2783, allocations: 51.42 kB / 0.9969 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2783, allocations: 8 kB / 0.9969 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2948, allocations: 3.627 MB / 1 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.295, allocations: 227.7 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.048, allocations: 0 / 1.001 GB, free: 5.207 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)