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.007892/0.007892, allocations: 116.5 kB / 15.7 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 192.9 kB / 16.64 MB, free: 6.41 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.642/1.642, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00134/0.00134, allocations: 76.98 kB / 0.6718 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.207, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004653/0.2117, allocations: 3.194 MB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2136, allocations: 1.38 MB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2137, allocations: 7.938 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.2147, allocations: 330.7 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.215, allocations: 143.2 kB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2153, allocations: 147.6 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.2157, allocations: 330.9 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.2161, allocations: 255.9 kB / 0.7893 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2162, allocations: 139.5 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2165, allocations: 155.4 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.2166, allocations: 23.94 kB / 0.7896 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2168, allocations: 163.7 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.2169, allocations: 83.78 kB / 0.7898 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2171, allocations: 123.3 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.2174, allocations: 354.9 kB / 0.7903 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2175, allocations: 4 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2175, allocations: 0 / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2175, allocations: 0 / 0.7903 GB, free: 6.422 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.0008003/0.2183, allocations: 0.538 MB / 0.7908 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2183, allocations: 16.02 kB / 0.7908 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.2184, allocations: 58.67 kB / 0.7909 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.2189, allocations: 84.58 kB / 0.7909 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.2192, allocations: 250.7 kB / 0.7912 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2193, allocations: 16.81 kB / 0.7912 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.2193, allocations: 16.38 kB / 0.7912 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.2198, allocations: 320.4 kB / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2198, allocations: 0 / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2199, allocations: 11.98 kB / 0.7915 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.2199, allocations: 20.36 kB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.2202, allocations: 209.6 kB / 0.7918 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.2217, allocations: 1.494 MB / 0.7932 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.2221, allocations: 203.6 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.2222, allocations: 48.83 kB / 0.7935 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2223, allocations: 0 / 0.7935 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2223, allocations: 34.56 kB / 0.7935 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.2223, allocations: 0 / 0.7935 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.2228, allocations: 267.3 kB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2229, allocations: 55.41 kB / 0.7938 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2231, allocations: 207.7 kB / 0.794 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2231, allocations: 29.7 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2232, allocations: 167.6 kB / 0.7942 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.2232, allocations: 31.64 kB / 0.7942 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.2233, allocations: 41.61 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.2234, allocations: 326.8 kB / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.2235, allocations: 43.97 kB / 0.7946 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2236, allocations: 112.5 kB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2238, allocations: 172.4 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2238, allocations: 4 kB / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003317/0.2242, allocations: 206.1 kB / 0.7951 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2242, allocations: 8.938 kB / 0.7951 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2242, allocations: 0 / 0.7951 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.2244, allocations: 36.77 kB / 0.7951 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2245, allocations: 31.92 kB / 0.7951 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/0.2255, allocations: 1.429 MB / 0.7965 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2256, allocations: 19.91 kB / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2256, allocations: 4.062 kB / 0.7966 GB, free: 15.37 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.0001183/0.2258, allocations: 149.7 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.2258, allocations: 19.81 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.2258, allocations: 21.39 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2259, allocations: 4 kB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2259, allocations: 0 / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2259, allocations: 7.938 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.2264, allocations: 483.2 kB / 0.7972 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2264, allocations: 4 kB / 0.7972 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.2265, allocations: 15.92 kB / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.2266, allocations: 24.84 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2266, allocations: 4 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/0.2275, allocations: 1.426 MB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2275, allocations: 0 / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2277, allocations: 244.1 kB / 0.7989 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.2278, allocations: 96.91 kB / 0.799 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2278, allocations: 4 kB / 0.799 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.228, allocations: 11.98 kB / 0.799 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.228, allocations: 12 kB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.228, allocations: 0 / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2281, allocations: 149.5 kB / 0.7992 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2281, allocations: 0 / 0.7992 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003017/0.2285, allocations: 55.94 kB / 0.7992 GB, free: 12.42 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.0005168/0.229, allocations: 0.7755 MB / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.2294, allocations: 226.5 kB / 0.8002 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2294, allocations: 4 kB / 0.8002 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.2296, allocations: 159.2 kB / 0.8003 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.23, allocations: 47.62 kB / 0.8004 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.2323, allocations: 2.138 MB / 0.8025 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2327, allocations: 0.7515 MB / 0.8032 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.77e-05/0.2328, allocations: 29.53 kB / 0.8032 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.2329, allocations: 63.34 kB / 0.8033 GB, free: 8 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2329, allocations: 0 / 0.8033 GB, free: 8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2538, allocations: 3.955 MB / 0.8072 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/9.538, allocations: 8.484 kB / 0.8072 GB, free: 4.168 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)