Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001216/0.001217, allocations: 105.4 kB / 15.7 MB, free: 28 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.001155/0.001155, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001405/0.001406, allocations: 71.61 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2299, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00434/0.2343, allocations: 2.447 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2367, allocations: 1.462 MB / 0.7875 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.2368, allocations: 4 kB / 0.7875 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.2375, allocations: 174.4 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.2378, allocations: 135.4 kB / 0.7878 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2382, allocations: 183.5 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.2384, allocations: 215.3 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2387, allocations: 129.2 kB / 0.7883 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2389, allocations: 79.77 kB / 0.7883 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2391, allocations: 107.6 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2391, allocations: 12 kB / 0.7885 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.2394, allocations: 171.7 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.2395, allocations: 71.75 kB / 0.7887 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.2396, allocations: 87.58 kB / 0.7888 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.2399, allocations: 279.2 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2399, allocations: 4 kB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2399, allocations: 0 / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2399, allocations: 0 / 0.789 GB, free: 7.703 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006543/0.2406, allocations: 467.1 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2406, allocations: 12.03 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.2407, allocations: 50.72 kB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004943/0.2412, allocations: 68.61 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2414, allocations: 236 kB / 0.7898 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2415, allocations: 8.656 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.2415, allocations: 12.38 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.2419, allocations: 291.4 kB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2419, allocations: 0 / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.242, allocations: 8 kB / 0.7901 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.242, allocations: 16.22 kB / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.2423, allocations: 208.5 kB / 0.7904 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.2439, allocations: 1.572 MB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.2443, allocations: 315.3 kB / 0.7922 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.2445, allocations: 69.72 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2445, allocations: 4 kB / 0.7923 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2445, allocations: 38.56 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2445, allocations: 0 / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000556/0.2451, allocations: 248.6 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2451, allocations: 81.05 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2453, allocations: 200 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2454, allocations: 29.7 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.2455, allocations: 151.6 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2455, allocations: 39.64 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.2456, allocations: 49.7 kB / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2457, allocations: 322.8 kB / 0.7934 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2458, allocations: 76.81 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.246, allocations: 157.9 kB / 0.7936 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2463, allocations: 230.9 kB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2463, allocations: 4 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003514/0.2466, allocations: 253.2 kB / 0.7941 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2466, allocations: 7.984 kB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2467, allocations: 4 kB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2467, allocations: 7.938 kB / 0.7941 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2469, allocations: 55.91 kB / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2469, allocations: 8.312 kB / 0.7941 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2471, allocations: 15.98 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2471, allocations: 12 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001466/0.2473, allocations: 164.1 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.2474, allocations: 147.9 kB / 0.7945 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002249/0.2476, allocations: 211.8 kB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.2476, allocations: 3.938 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003189/0.248, allocations: 241.1 kB / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.248, allocations: 4 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.248, allocations: 4 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.248, allocations: 4 kB / 0.7949 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2482, allocations: 55.84 kB / 0.795 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2482, allocations: 8.391 kB / 0.795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.2483, allocations: 12 kB / 0.795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2483, allocations: 12.47 kB / 0.795 GB, free: 1.023 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.2484, allocations: 192.1 kB / 0.7952 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.2485, allocations: 23.73 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.2487, allocations: 154.9 kB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2488, allocations: 0 / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2488, allocations: 4 kB / 0.7953 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2488, allocations: 0 / 0.7953 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008801/0.2497, allocations: 0.7238 MB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2497, allocations: 0 / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.2498, allocations: 27.92 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2498, allocations: 4 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2498, allocations: 8 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2498, allocations: 4 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2498, allocations: 4 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2501, allocations: 382.5 kB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.2502, allocations: 108.9 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.2503, allocations: 4 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2504, allocations: 11.98 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.2505, allocations: 15.88 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2505, allocations: 7.938 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2506, allocations: 157.3 kB / 0.7968 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2506, allocations: 0 / 0.7968 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000469/0.2511, allocations: 76 kB / 0.7968 GB, free: 14.97 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005807/0.2517, allocations: 0.9181 MB / 0.7977 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.2521, allocations: 263.5 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2521, allocations: 0 / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.2521, allocations: 69.39 kB / 0.798 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2526, allocations: 31.48 kB / 0.7981 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.2549, allocations: 2.333 MB / 0.8004 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2552, allocations: 0.7363 MB / 0.8011 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.2553, allocations: 73.5 kB / 0.8011 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.2554, allocations: 47.41 kB / 0.8012 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of SimCode: time 1.91e-07/0.2554, allocations: 0 / 0.8012 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.275, allocations: 3.525 MB / 0.8046 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.799, allocations: 8.594 kB / 0.8046 GB, free: 6.84 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)