Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 69.91 kB / 0.6716 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.212, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005967/0.218, allocations: 3.184 MB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.2208, allocations: 1.384 MB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.2212, allocations: 7.938 kB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2224, allocations: 333.8 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.2229, allocations: 147.2 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2233, allocations: 147.6 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.2238, allocations: 334.9 kB / 0.7889 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.2243, allocations: 255.9 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.2247, allocations: 135.5 kB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.2251, allocations: 147.4 kB / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.2251, allocations: 20 kB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.2255, allocations: 171.6 kB / 0.7896 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.2256, allocations: 83.8 kB / 0.7896 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.2257, allocations: 123.3 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2262, allocations: 346.9 kB / 0.7901 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2262, allocations: 4 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2262, allocations: 4 kB / 0.7901 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2262, allocations: 0 / 0.7901 GB, free: 6.586 MB / 0.6075 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.0009084/0.2272, allocations: 0.5379 MB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2272, allocations: 11.97 kB / 0.7906 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.2273, allocations: 58.73 kB / 0.7907 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.2279, allocations: 84.58 kB / 0.7908 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2282, allocations: 255.1 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2283, allocations: 12.81 kB / 0.791 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.2283, allocations: 20.38 kB / 0.791 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.2288, allocations: 316.4 kB / 0.7913 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2288, allocations: 4 kB / 0.7913 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.2289, allocations: 12 kB / 0.7914 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.2289, allocations: 16.42 kB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.2293, allocations: 213.6 kB / 0.7916 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2309, allocations: 1.494 MB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.2313, allocations: 215.6 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.2314, allocations: 48.77 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2314, allocations: 4 kB / 0.7933 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2314, allocations: 30.56 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2315, allocations: 0 / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.232, allocations: 263.3 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.2321, allocations: 55.41 kB / 0.7936 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.2323, allocations: 203.8 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2323, allocations: 29.69 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2324, allocations: 171.6 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.2324, allocations: 31.62 kB / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.2325, allocations: 45.61 kB / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2327, allocations: 326.8 kB / 0.7944 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2328, allocations: 43.97 kB / 0.7944 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2329, allocations: 111.3 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.2332, allocations: 176.4 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2332, allocations: 0 / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003815/0.2336, allocations: 210.1 kB / 0.7949 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2336, allocations: 4.281 kB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2336, allocations: 8 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.2338, allocations: 32.77 kB / 0.795 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2339, allocations: 35.92 kB / 0.795 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.2351, allocations: 1.429 MB / 0.7964 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2352, allocations: 15.84 kB / 0.7964 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2353, allocations: 8 kB / 0.7964 GB, free: 15.52 MB / 0.6231 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.0001442/0.2354, allocations: 152.3 kB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.2355, allocations: 15.81 kB / 0.7966 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.2355, allocations: 21.39 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2355, allocations: 4 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2355, allocations: 0 / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2355, allocations: 0 / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.2362, allocations: 491.1 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2362, allocations: 0 / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.2363, allocations: 16.05 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.638e-05/0.2364, allocations: 28.78 kB / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2364, allocations: 4 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.2374, allocations: 1.417 MB / 0.7985 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2374, allocations: 7.875 kB / 0.7985 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.2377, allocations: 240.3 kB / 0.7987 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.2378, allocations: 96.91 kB / 0.7988 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.2378, allocations: 4 kB / 0.7988 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.238, allocations: 7.984 kB / 0.7988 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.238, allocations: 8 kB / 0.7988 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.238, allocations: 0 / 0.7988 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000133/0.2382, allocations: 153.5 kB / 0.799 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 0.799 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003454/0.2385, allocations: 55.84 kB / 0.799 GB, free: 12.58 MB / 0.6231 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.0005966/0.2391, allocations: 0.7677 MB / 0.7998 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.2396, allocations: 242.4 kB / 0.8 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2396, allocations: 0 / 0.8 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2398, allocations: 159.5 kB / 0.8002 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2403, allocations: 49.48 kB / 0.8002 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2428, allocations: 2.135 MB / 0.8023 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2432, allocations: 0.7515 MB / 0.803 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.2433, allocations: 37.45 kB / 0.8031 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.2434, allocations: 59.41 kB / 0.8031 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2434, allocations: 0 / 0.8031 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.2735, allocations: 3.934 MB / 0.807 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.613/9.887, allocations: 8.297 kB / 0.807 GB, free: 4.336 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)