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.001689/0.001689, 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.001822/0.001822, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.342/1.342, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.657/1.657, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001511/0.001511, allocations: 69.23 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2147, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004999/0.2197, allocations: 3.194 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.222, allocations: 1.376 MB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.2222, allocations: 8 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.2233, allocations: 330.7 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.2236, allocations: 143.2 kB / 0.7884 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.224, allocations: 151.6 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.2243, allocations: 330.9 kB / 0.7889 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.2247, allocations: 251.9 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2249, allocations: 143.5 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.2252, allocations: 151.4 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.2252, allocations: 20 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.2255, allocations: 163.7 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.2256, allocations: 83.78 kB / 0.7896 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2257, allocations: 123.4 kB / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2261, allocations: 350.9 kB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2262, allocations: 0 / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2262, allocations: 0 / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2262, allocations: 0 / 0.7901 GB, free: 6.57 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.000933/0.2271, allocations: 0.5497 MB / 0.7906 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2272, allocations: 8.031 kB / 0.7906 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.2272, allocations: 54.73 kB / 0.7907 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.2278, allocations: 80.58 kB / 0.7908 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2282, allocations: 251.2 kB / 0.791 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2282, allocations: 16.81 kB / 0.791 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.2283, allocations: 20.31 kB / 0.791 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.2288, allocations: 324.4 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2289, allocations: 0 / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.2289, allocations: 4 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.229, allocations: 20.44 kB / 0.7914 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2294, allocations: 217.5 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.2309, allocations: 1.501 MB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.2314, allocations: 203.6 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.2315, allocations: 44.84 kB / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.2315, allocations: 0 / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2315, allocations: 38.55 kB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.2315, allocations: 0 / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005556/0.2321, allocations: 263.3 kB / 0.7936 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2321, allocations: 55.41 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2323, allocations: 207.7 kB / 0.7938 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2323, allocations: 29.7 kB / 0.7938 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.2324, allocations: 171.6 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2325, allocations: 27.64 kB / 0.794 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.2325, allocations: 37.62 kB / 0.7941 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2327, allocations: 330.8 kB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.2328, allocations: 43.98 kB / 0.7944 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2329, allocations: 116.4 kB / 0.7945 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.2331, allocations: 168.4 kB / 0.7947 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2331, allocations: 4 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003627/0.2335, allocations: 202.1 kB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2335, allocations: 8.094 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2335, allocations: 7.938 kB / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.2337, allocations: 33.06 kB / 0.7949 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.2339, allocations: 35.92 kB / 0.795 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.2349, allocations: 1.429 MB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2351, allocations: 15.88 kB / 0.7964 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2351, allocations: 15.98 kB / 0.7964 GB, free: 15.5 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.0001269/0.2352, allocations: 145.7 kB / 0.7965 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.2353, allocations: 19.91 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2353, allocations: 17.41 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2353, allocations: 3.984 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2353, allocations: 0 / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2353, allocations: 0 / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.2359, allocations: 491.1 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2359, allocations: 0 / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.236, allocations: 11.98 kB / 0.7971 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.661e-05/0.2361, allocations: 28.84 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2361, allocations: 8.062 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.237, allocations: 1.425 MB / 0.7985 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2371, allocations: 0 / 0.7985 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2374, allocations: 244.2 kB / 0.7987 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.2374, allocations: 100.9 kB / 0.7988 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2375, allocations: 0 / 0.7988 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2376, allocations: 8 kB / 0.7988 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2377, allocations: 11.97 kB / 0.7988 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2377, allocations: 4 kB / 0.7988 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001182/0.2378, allocations: 149.5 kB / 0.799 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2378, allocations: 0 / 0.799 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003481/0.2382, allocations: 59.84 kB / 0.799 GB, free: 12.55 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.0005508/0.2387, allocations: 0.7644 MB / 0.7998 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.2392, allocations: 234.5 kB / 0.8 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2392, allocations: 4 kB / 0.8 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2394, allocations: 158.7 kB / 0.8002 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.2398, allocations: 40.77 kB / 0.8002 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.242, allocations: 2.143 MB / 0.8023 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2423, allocations: 0.7554 MB / 0.803 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.2425, allocations: 25.53 kB / 0.8031 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.2426, allocations: 59.42 kB / 0.8031 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2426, allocations: 0 / 0.8031 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2733/0.5159, allocations: 3.937 MB / 0.807 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.939/10.46, allocations: 17.98 kB / 0.807 GB, free: 4.316 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)