Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.777/1.777, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.001191/0.001191, allocations: 186.6 kB / 371.1 MB, free: 10.84 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.589/1.589, allocations: 205.4 MB / 0.6298 GB, free: 10.63 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.0008141/0.0008141, allocations: 102 kB / 0.7431 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 15.58 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003446/0.2458, allocations: 2.774 MB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.2478, allocations: 1.279 MB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.2482, allocations: 7.938 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.2484, allocations: 43.64 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.249, allocations: 115.4 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.2495, allocations: 104.6 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.25, allocations: 382.7 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.2504, allocations: 236.9 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.2507, allocations: 115.5 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.251, allocations: 135.5 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.2511, allocations: 12 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.2514, allocations: 87.81 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.2515, allocations: 79.72 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.2516, allocations: 61.58 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.2519, allocations: 263.6 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.252, allocations: 0 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.252, allocations: 0 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.252, allocations: 0 / 0.9843 GB, free: 22.41 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.0009016/0.2529, allocations: 0.503 MB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2529, allocations: 12.03 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.253, allocations: 54.73 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.2536, allocations: 84.48 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2539, allocations: 249.2 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2539, allocations: 16.81 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.254, allocations: 24.31 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.2545, allocations: 312.5 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2545, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.2545, allocations: 8 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.2546, allocations: 28.36 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.2549, allocations: 213.6 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2562, allocations: 1.501 MB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.2566, allocations: 203.7 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.2567, allocations: 48.83 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2567, allocations: 0 / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2568, allocations: 38.5 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2568, allocations: 0 / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005269/0.2573, allocations: 259.8 kB / 0.9877 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2573, allocations: 55.39 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2575, allocations: 212.2 kB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2575, allocations: 25.7 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2577, allocations: 183.7 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.2577, allocations: 35.48 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.2577, allocations: 0 / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.2578, allocations: 326.8 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.2579, allocations: 47.92 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.258, allocations: 112.5 kB / 0.9887 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2582, allocations: 172.4 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2582, allocations: 0 / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000319/0.2585, allocations: 222 kB / 0.989 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2586, allocations: 8 kB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2586, allocations: 80 / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2588, allocations: 44.94 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2589, allocations: 27.98 kB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000835/0.2597, allocations: 1.323 MB / 0.9904 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2599, allocations: 31.73 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2599, allocations: 8 kB / 0.9904 GB, free: 15.49 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.0001297/0.26, allocations: 145.8 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.2601, allocations: 19.75 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.2601, allocations: 25.39 kB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2601, allocations: 4.094 kB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2601, allocations: 0 / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2601, allocations: 0 / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.2606, allocations: 487.2 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2606, allocations: 4 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.2607, allocations: 15.98 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.889e-05/0.2608, allocations: 32.83 kB / 0.9911 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2608, allocations: 0 / 0.9911 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.2615, allocations: 1.323 MB / 0.9924 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2615, allocations: 0 / 0.9924 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2617, allocations: 236.1 kB / 0.9927 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2618, allocations: 101 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2618, allocations: 8 kB / 0.9928 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2619, allocations: 7.984 kB / 0.9928 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.262, allocations: 4 kB / 0.9928 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.262, allocations: 4 kB / 0.9928 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.579e-05/0.2621, allocations: 144.2 kB / 0.9929 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2621, allocations: 4 kB / 0.9929 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002819/0.2624, allocations: 59.75 kB / 0.993 GB, free: 12.65 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.0004179/0.2628, allocations: 0.7794 MB / 0.9937 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2632, allocations: 234.5 kB / 0.994 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2632, allocations: 0 / 0.994 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2634, allocations: 166.7 kB / 0.9941 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.2638, allocations: 37.11 kB / 0.9942 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2651, allocations: 1.14 MB / 0.9953 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2654, allocations: 0.7554 MB / 0.996 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2655, allocations: 21.53 kB / 0.996 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.2656, allocations: 67.36 kB / 0.9961 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2656, allocations: 0 / 0.9961 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.2834, allocations: 3.599 MB / 0.9996 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/0.2836, allocations: 220.9 kB / 0.9998 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.07, allocations: 0 / 0.9998 GB, free: 5.645 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)