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.943/2.943, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001556/0.001556, allocations: 186.9 kB / 370.8 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.152/2.152, allocations: 205.4 MB / 0.6295 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.001191/0.001191, allocations: 92.83 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 11.09 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006522/0.228, allocations: 2.708 MB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.232, allocations: 1.264 MB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.2323, allocations: 7.938 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.2325, allocations: 39.75 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.2331, allocations: 103.7 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.2338, allocations: 103.7 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.2343, allocations: 195.5 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.2348, allocations: 223.3 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.2351, allocations: 91.69 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.2355, allocations: 99.59 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.2355, allocations: 16 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.2359, allocations: 79.88 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.236, allocations: 63.81 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.2361, allocations: 73.56 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.2367, allocations: 259.6 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2367, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2367, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2368, allocations: 0 / 0.9835 GB, free: 22.97 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.001262/0.238, allocations: 0.5105 MB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.2381, allocations: 12.02 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.2382, allocations: 62.44 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.2397, allocations: 83.64 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.2402, allocations: 248 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.2402, allocations: 20.44 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.2403, allocations: 16 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.2413, allocations: 304.3 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2414, allocations: 0 / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.2415, allocations: 15.98 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.2415, allocations: 24.38 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/0.2424, allocations: 213.6 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.2453, allocations: 1.494 MB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.2462, allocations: 215.6 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2463, allocations: 0 / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2463, allocations: 38.55 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.366e-06/0.2463, allocations: 0 / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001139/0.2475, allocations: 267.5 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2475, allocations: 59.41 kB / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.2479, allocations: 208.3 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.248, allocations: 29.7 kB / 0.9871 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2481, allocations: 167.7 kB / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.2482, allocations: 31.55 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.2482, allocations: 4 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.2483, allocations: 326.8 kB / 0.9877 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2486, allocations: 47.97 kB / 0.9877 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2489, allocations: 110.6 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.2492, allocations: 63.91 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2492, allocations: 3.953 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008406/0.25, allocations: 218 kB / 0.9881 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2501, allocations: 8 kB / 0.9881 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2501, allocations: 96 / 0.9881 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.2504, allocations: 37.06 kB / 0.9881 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.2508, allocations: 31.92 kB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.2524, allocations: 1.335 MB / 0.9895 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2528, allocations: 23.69 kB / 0.9895 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.2528, allocations: 8 kB / 0.9895 GB, free: 16.23 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.0002386/0.2531, allocations: 145.7 kB / 0.9896 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.2532, allocations: 19.8 kB / 0.9896 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2533, allocations: 17.59 kB / 0.9897 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2533, allocations: 8 kB / 0.9897 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2533, allocations: 0 / 0.9897 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2533, allocations: 0 / 0.9897 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2545, allocations: 495.2 kB / 0.9901 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2546, allocations: 0 / 0.9901 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.2548, allocations: 12 kB / 0.9902 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.255, allocations: 32.84 kB / 0.9902 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.255, allocations: 7.984 kB / 0.9902 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.2565, allocations: 1.331 MB / 0.9915 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2565, allocations: 3.938 kB / 0.9915 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.2572, allocations: 240.3 kB / 0.9917 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2573, allocations: 108.8 kB / 0.9918 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.2574, allocations: 3.953 kB / 0.9918 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.2577, allocations: 8 kB / 0.9918 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.2578, allocations: 7.984 kB / 0.9918 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.2578, allocations: 4 kB / 0.9919 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002302/0.2581, allocations: 140.2 kB / 0.992 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.61e-07/0.2581, allocations: 0 / 0.992 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007189/0.2589, allocations: 55.84 kB / 0.992 GB, free: 13.37 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.0008811/0.2598, allocations: 0.7755 MB / 0.9928 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008633/0.2606, allocations: 238.5 kB / 0.993 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2607, allocations: 0 / 0.993 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.2611, allocations: 155.2 kB / 0.9932 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.2617, allocations: 40.09 kB / 0.9932 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.2651, allocations: 2.506 MB / 0.9957 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2655, allocations: 0.7632 MB / 0.9964 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.2658, allocations: 25.53 kB / 0.9964 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.266, allocations: 51.42 kB / 0.9965 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.472e-06/0.266, allocations: 7.938 kB / 0.9965 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2942, allocations: 3.613 MB / 1 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.2945, allocations: 207.4 kB / 1 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.841, allocations: 5.125 kB / 1 GB, free: 4.969 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)