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.001174/0.001174, allocations: 105.4 kB / 15.7 MB, free: 24 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.001298/0.001298, allocations: 195.3 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.874/1.874, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001668/0.001668, allocations: 74.12 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2201, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005016/0.2251, allocations: 2.443 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.2276, allocations: 1.462 MB / 0.7875 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.2278, allocations: 3.938 kB / 0.7875 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.2286, allocations: 175.3 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.229, allocations: 131.4 kB / 0.7878 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.2295, allocations: 183.1 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.2298, allocations: 215.3 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.2301, allocations: 129.2 kB / 0.7883 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.2303, allocations: 83.73 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2305, allocations: 103.6 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2306, allocations: 12 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.2309, allocations: 187.6 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.2309, allocations: 63.8 kB / 0.7887 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.231, allocations: 79.61 kB / 0.7888 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.2314, allocations: 279.2 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2314, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2314, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2314, allocations: 0 / 0.789 GB, free: 7.723 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.0007391/0.2322, allocations: 475.1 kB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2322, allocations: 11.97 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.2323, allocations: 50.72 kB / 0.7895 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.2328, allocations: 72.67 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.2331, allocations: 224 kB / 0.7898 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2331, allocations: 8.656 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.2331, allocations: 16.36 kB / 0.7898 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.2336, allocations: 287.4 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2336, allocations: 0 / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2336, allocations: 8 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.2336, allocations: 20.22 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.234, allocations: 208.5 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2357, allocations: 1.572 MB / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.2361, allocations: 319.2 kB / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.2362, allocations: 61.69 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2362, allocations: 0 / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2363, allocations: 38.56 kB / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.2363, allocations: 3.984 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006041/0.2369, allocations: 252.9 kB / 0.7925 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.2369, allocations: 77.11 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2371, allocations: 200 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2372, allocations: 29.7 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2373, allocations: 155.8 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2373, allocations: 39.45 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.2374, allocations: 45.7 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2375, allocations: 322.8 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2377, allocations: 72.81 kB / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2379, allocations: 165.8 kB / 0.7936 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2382, allocations: 230.9 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2382, allocations: 4 kB / 0.7938 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000381/0.2386, allocations: 261.1 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2386, allocations: 8 kB / 0.7941 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2386, allocations: 80 / 0.7941 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2386, allocations: 8.312 kB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.2389, allocations: 55.91 kB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2389, allocations: 8.109 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.239, allocations: 19.98 kB / 0.7942 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2391, allocations: 8 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001669/0.2392, allocations: 164.1 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000136/0.2394, allocations: 155.9 kB / 0.7945 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002335/0.2396, allocations: 215.8 kB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2396, allocations: 4 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003243/0.24, allocations: 237.1 kB / 0.7949 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.24, allocations: 11.98 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.24, allocations: 0 / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.24, allocations: 8.406 kB / 0.7949 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2402, allocations: 51.86 kB / 0.795 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2402, allocations: 11.92 kB / 0.795 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2403, allocations: 8 kB / 0.795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2403, allocations: 12 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.0001141/0.2404, allocations: 200.1 kB / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.2405, allocations: 15.75 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.2407, allocations: 143 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2408, allocations: 4 kB / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2408, allocations: 0 / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2408, allocations: 4 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.2417, allocations: 0.7274 MB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2417, allocations: 4 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.2418, allocations: 19.98 kB / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.2418, allocations: 4 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2419, allocations: 4 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2419, allocations: 4 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.2419, allocations: 7.938 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2422, allocations: 378.5 kB / 0.7965 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.2423, allocations: 104.9 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.2423, allocations: 4 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2425, allocations: 7.984 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2425, allocations: 19.92 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2425, allocations: 7.938 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001242/0.2426, allocations: 157.4 kB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2426, allocations: 0 / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005127/0.2432, allocations: 72 kB / 0.7968 GB, free: 14.99 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.0006275/0.2438, allocations: 0.9184 MB / 0.7977 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.2442, allocations: 271.5 kB / 0.798 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2442, allocations: 5.5 kB / 0.798 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.2443, allocations: 56.52 kB / 0.798 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2449, allocations: 32.05 kB / 0.7981 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.2474, allocations: 2.333 MB / 0.8003 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2477, allocations: 0.7363 MB / 0.8011 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.2479, allocations: 77.45 kB / 0.8011 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.248, allocations: 47.42 kB / 0.8012 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.248, allocations: 0 / 0.8012 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.2677, allocations: 3.525 MB / 0.8046 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.684, allocations: 12.64 kB / 0.8046 GB, free: 6.848 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --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)