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.0007441/0.0007441, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.337/1.337, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.592/1.592, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005258/0.0005258, allocations: 13.19 kB / 0.6744 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002434/0.2035, allocations: 2.138 MB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2054, allocations: 1.439 MB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.2055, allocations: 11.88 kB / 0.7915 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.2056, allocations: 23.84 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.2059, allocations: 119.5 kB / 0.7916 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2063, allocations: 163.6 kB / 0.7918 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.2066, allocations: 311.2 kB / 0.7921 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.207, allocations: 250.2 kB / 0.7923 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2071, allocations: 71.64 kB / 0.7924 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.2073, allocations: 99.69 kB / 0.7925 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2073, allocations: 8 kB / 0.7925 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.2076, allocations: 215.6 kB / 0.7927 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.2077, allocations: 51.81 kB / 0.7928 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.2077, allocations: 109.3 kB / 0.7929 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.208, allocations: 279.1 kB / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2081, allocations: 0 / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2081, allocations: 0 / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2081, allocations: 0 / 0.7931 GB, free: 6.156 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.0005188/0.2086, allocations: 443.3 kB / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2086, allocations: 8.031 kB / 0.7936 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.2087, allocations: 54.66 kB / 0.7936 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.2092, allocations: 72.58 kB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2094, allocations: 228 kB / 0.7939 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2094, allocations: 8.656 kB / 0.7939 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.2095, allocations: 12.38 kB / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.2098, allocations: 279.4 kB / 0.7942 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2098, allocations: 7.984 kB / 0.7942 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.2099, allocations: 4 kB / 0.7942 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.2099, allocations: 20.23 kB / 0.7942 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.2102, allocations: 204.5 kB / 0.7944 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.2116, allocations: 1.587 MB / 0.796 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.212, allocations: 319.3 kB / 0.7963 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.212, allocations: 61.67 kB / 0.7963 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2121, allocations: 4 kB / 0.7963 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2121, allocations: 38.56 kB / 0.7964 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2121, allocations: 0 / 0.7964 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004784/0.2126, allocations: 240.7 kB / 0.7966 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2126, allocations: 85.05 kB / 0.7967 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2128, allocations: 196 kB / 0.7969 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2128, allocations: 33.89 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.2129, allocations: 159.5 kB / 0.7971 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2129, allocations: 35.48 kB / 0.7971 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.213, allocations: 25.66 kB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.2131, allocations: 322.8 kB / 0.7974 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.2132, allocations: 67.95 kB / 0.7975 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2133, allocations: 159 kB / 0.7976 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.2136, allocations: 226.9 kB / 0.7979 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2136, allocations: 4 kB / 0.7979 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003429/0.2139, allocations: 257.2 kB / 0.7981 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.572e-05/0.214, allocations: 179.6 kB / 0.7983 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.214, allocations: 0 / 0.7983 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.214, allocations: 7.938 kB / 0.7983 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2142, allocations: 55.91 kB / 0.7983 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2143, allocations: 8.453 kB / 0.7983 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2144, allocations: 16.11 kB / 0.7984 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2144, allocations: 12 kB / 0.7984 GB, free: 280 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.2145, allocations: 4 kB / 0.7984 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002535/0.2147, allocations: 195.7 kB / 0.7986 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2147, allocations: 7.984 kB / 0.7986 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.2147, allocations: 4 kB / 0.7986 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2149, allocations: 43.92 kB / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2149, allocations: 11.97 kB / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.215, allocations: 16.36 kB / 0.7986 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.215, allocations: 12 kB / 0.7987 GB, free: 15.98 MB / 0.6231 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.0001186/0.2152, allocations: 220.9 kB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.2152, allocations: 19.8 kB / 0.7989 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.2155, allocations: 147 kB / 0.799 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2155, allocations: 3.984 kB / 0.799 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2155, allocations: 7.938 kB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2155, allocations: 3.938 kB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.2163, allocations: 0.7198 MB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2163, allocations: 4.062 kB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.2164, allocations: 31.92 kB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2164, allocations: 4 kB / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2164, allocations: 4 kB / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2164, allocations: 0 / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2164, allocations: 4 kB / 0.7998 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.2167, allocations: 378.3 kB / 0.8001 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.2168, allocations: 108.9 kB / 0.8002 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2168, allocations: 8 kB / 0.8003 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.217, allocations: 7.984 kB / 0.8003 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.217, allocations: 23.86 kB / 0.8003 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.217, allocations: 4 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2171, allocations: 157.3 kB / 0.8004 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2172, allocations: 0 / 0.8004 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004431/0.2176, allocations: 72 kB / 0.8005 GB, free: 13.91 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.0004982/0.2181, allocations: 0.9142 MB / 0.8014 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.2185, allocations: 263.6 kB / 0.8017 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2185, allocations: 3.938 kB / 0.8017 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.2186, allocations: 61.45 kB / 0.8017 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.219, allocations: 37.73 kB / 0.8018 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2211, allocations: 2.388 MB / 0.8041 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2214, allocations: 0.7363 MB / 0.8048 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.2216, allocations: 73.47 kB / 0.8049 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.2217, allocations: 47.42 kB / 0.8049 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2217, allocations: 0 / 0.8049 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/0.525, allocations: 3.257 MB / 0.8081 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.5252, allocations: 225.8 kB / 0.8083 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.265, allocations: 0 / 0.8083 GB, free: 5.77 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)