Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 287.3 MB / 302.3 MB, free: 8.199 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.001651/0.001651, allocations: 182.3 kB / 370.8 MB, free: 10.87 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.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001137/0.001137, allocations: 90.02 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.000651, allocations: 16.22 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2352, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003923/0.2392, allocations: 2.045 MB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2419, allocations: 1.33 MB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2421, allocations: 4 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.2423, allocations: 23.84 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.2428, allocations: 83.67 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.2434, allocations: 145 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2437, allocations: 131.7 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.2443, allocations: 230.2 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2444, allocations: 59.77 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2447, allocations: 67.75 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2447, allocations: 8 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.245, allocations: 103.8 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.2451, allocations: 47.88 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2452, allocations: 57.52 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.2455, allocations: 211.4 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2456, allocations: 4 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2456, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2456, allocations: 0 / 0.9827 GB, free: 23.71 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007063/0.2463, allocations: 439.1 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2464, allocations: 16.02 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.2464, allocations: 46.55 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.2472, allocations: 79.59 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.2475, allocations: 214.8 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2476, allocations: 16.28 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.2476, allocations: 15.98 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.2482, allocations: 271.7 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2482, allocations: 3.938 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.2483, allocations: 15.94 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.2484, allocations: 16.22 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.2488, allocations: 208.4 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.251, allocations: 1.576 MB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.2515, allocations: 323.3 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2516, allocations: 0 / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2516, allocations: 42.5 kB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.2516, allocations: 0 / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000787/0.2524, allocations: 236.8 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2525, allocations: 81.11 kB / 0.9862 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2527, allocations: 203.3 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2527, allocations: 29.7 kB / 0.9864 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.2528, allocations: 147.7 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2529, allocations: 39.67 kB / 0.9866 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.2529, allocations: 8 kB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.253, allocations: 326.8 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2531, allocations: 63.95 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2533, allocations: 152.4 kB / 0.9871 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.2536, allocations: 87.91 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2536, allocations: 4 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000567/0.2542, allocations: 269 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.2544, allocations: 1.134 MB / 0.9886 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2544, allocations: 0 / 0.9886 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2545, allocations: 8 kB / 0.9886 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.2549, allocations: 47.91 kB / 0.9886 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2549, allocations: 4 kB / 0.9886 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.2552, allocations: 15.98 kB / 0.9886 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2553, allocations: 12.45 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2553, allocations: 8 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004465/0.2557, allocations: 195.5 kB / 0.9888 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2557, allocations: 4 kB / 0.9889 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.2558, allocations: 7.953 kB / 0.9889 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.2561, allocations: 48.28 kB / 0.9889 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2562, allocations: 8.125 kB / 0.9889 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.2564, allocations: 19.89 kB / 0.9889 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.2564, allocations: 19.98 kB / 0.9889 GB, free: 16.81 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.2566, allocations: 219 kB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.2567, allocations: 11.91 kB / 0.9892 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.257, allocations: 162.8 kB / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2571, allocations: 0 / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2571, allocations: 0 / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2571, allocations: 8 kB / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.2583, allocations: 0.7121 MB / 0.99 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2584, allocations: 4 kB / 0.99 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2586, allocations: 23.92 kB / 0.9901 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.2586, allocations: 4 kB / 0.9901 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2586, allocations: 4 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.2586, allocations: 4 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2587, allocations: 4 kB / 0.9901 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.2591, allocations: 0.4996 MB / 0.9906 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2592, allocations: 108.9 kB / 0.9907 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.2593, allocations: 4 kB / 0.9907 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2595, allocations: 11.98 kB / 0.9907 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2596, allocations: 15.92 kB / 0.9907 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2596, allocations: 4 kB / 0.9907 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000188/0.2598, allocations: 148.9 kB / 0.9908 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.01e-07/0.2598, allocations: 4 kB / 0.9908 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007353/0.2606, allocations: 68 kB / 0.9909 GB, free: 14.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007981/0.2614, allocations: 1.72 MB / 0.9926 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.2621, allocations: 263.5 kB / 0.9928 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2621, allocations: 3.938 kB / 0.9928 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2622, allocations: 57.41 kB / 0.9929 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.2627, allocations: 32.8 kB / 0.9929 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.2653, allocations: 2.947 MB / 0.9958 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2656, allocations: 0.7402 MB / 0.9965 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003703/0.266, allocations: 73.45 kB / 0.9966 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2661, allocations: 43.42 kB / 0.9966 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2661, allocations: 4 kB / 0.9966 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.2923, allocations: 3.284 MB / 0.9999 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.2926, allocations: 216.2 kB / 1 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/2.831, allocations: 0 / 1 GB, free: 5.109 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)