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 2.894/2.894, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.002253/0.002253, allocations: 174.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001001/0.001001, allocations: 91.47 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006704/0.0006707, allocations: 16.78 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2306, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004355/0.2351, allocations: 2.778 MB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.2378, allocations: 1.279 MB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.2381, allocations: 7.938 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.2383, allocations: 39.7 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.2388, allocations: 115.4 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.2394, allocations: 104.9 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.24, allocations: 378.7 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.2404, allocations: 215.3 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2406, allocations: 115.5 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.241, allocations: 135.5 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.241, allocations: 8 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.2414, allocations: 87.81 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.2415, allocations: 71.8 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.2416, allocations: 65.58 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.242, allocations: 263.6 kB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.242, allocations: 0 / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.242, allocations: 0 / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.242, allocations: 0 / 0.984 GB, free: 22.58 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.0009745/0.243, allocations: 0.5144 MB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2431, allocations: 12.02 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.2432, allocations: 58.5 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.2441, allocations: 87.58 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.2445, allocations: 244 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2445, allocations: 12.44 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.2446, allocations: 31.92 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.2453, allocations: 304.3 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2453, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2454, allocations: 8 kB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.2454, allocations: 28.31 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.246, allocations: 213.6 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.248, allocations: 1.494 MB / 0.9869 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.2487, allocations: 203.7 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2488, allocations: 48.83 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2489, allocations: 0 / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2489, allocations: 42.5 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.2489, allocations: 4 kB / 0.9872 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000797/0.2497, allocations: 255.4 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2498, allocations: 55.41 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.25, allocations: 208.3 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2501, allocations: 33.7 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.2502, allocations: 171.7 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.2502, allocations: 39.48 kB / 0.9879 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2502, allocations: 0 / 0.9879 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2503, allocations: 326.8 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2505, allocations: 47.97 kB / 0.9882 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2507, allocations: 110.8 kB / 0.9883 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.2509, allocations: 71.86 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.2509, allocations: 0 / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005753/0.2515, allocations: 214.2 kB / 0.9886 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2515, allocations: 9.562 kB / 0.9886 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2515, allocations: 4.031 kB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.2518, allocations: 32.78 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.252, allocations: 35.92 kB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.2531, allocations: 1.327 MB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.2534, allocations: 27.69 kB / 0.99 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.2534, allocations: 4 kB / 0.99 GB, free: 15.79 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.0001779/0.2536, allocations: 149.9 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.2537, allocations: 19.8 kB / 0.9902 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.2537, allocations: 17.41 kB / 0.9902 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2537, allocations: 4 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2537, allocations: 0 / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2537, allocations: 0 / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.2546, allocations: 495.2 kB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2546, allocations: 0 / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2547, allocations: 12 kB / 0.9907 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.2549, allocations: 28.78 kB / 0.9907 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2549, allocations: 4 kB / 0.9907 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.256, allocations: 1.323 MB / 0.992 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.256, allocations: 0 / 0.992 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.2565, allocations: 236.7 kB / 0.9922 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.2566, allocations: 104.8 kB / 0.9923 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2566, allocations: 7.953 kB / 0.9923 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2568, allocations: 4 kB / 0.9923 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.2569, allocations: 7.984 kB / 0.9924 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2569, allocations: 11.98 kB / 0.9924 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001532/0.2571, allocations: 140.2 kB / 0.9925 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2571, allocations: 0 / 0.9925 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004699/0.2576, allocations: 55.84 kB / 0.9926 GB, free: 12.95 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.0006816/0.2583, allocations: 0.7834 MB / 0.9933 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.2589, allocations: 231 kB / 0.9935 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2589, allocations: 64 / 0.9935 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2592, allocations: 166.6 kB / 0.9937 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.2598, allocations: 36.16 kB / 0.9937 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.262, allocations: 1.143 MB / 0.9949 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2623, allocations: 0.7554 MB / 0.9956 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.2625, allocations: 29.53 kB / 0.9956 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2626, allocations: 55.42 kB / 0.9957 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.2627, allocations: 0 / 0.9957 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.2872, allocations: 3.631 MB / 0.9992 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.2875, allocations: 208.5 kB / 0.9994 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/2.995, allocations: 0 / 0.9994 GB, free: 5.926 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)