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.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001378/0.001378, allocations: 173.6 kB / 371 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.233/2.233, allocations: 205.4 MB / 0.6297 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.0009251/0.0009248, allocations: 88.86 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006706/0.0006708, allocations: 12.38 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003126/0.2168, allocations: 2.072 MB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2194, allocations: 1.361 MB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2196, allocations: 3.938 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2198, allocations: 23.8 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.2202, allocations: 103.5 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.2207, allocations: 140.6 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.2211, allocations: 251.2 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.2216, allocations: 230.3 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2218, allocations: 67.77 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2221, allocations: 99.64 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.2221, allocations: 8 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2225, allocations: 111.8 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.2226, allocations: 51.88 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.2226, allocations: 53.58 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.223, allocations: 207.4 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.223, allocations: 0 / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.223, allocations: 4 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.223, allocations: 0 / 0.9831 GB, free: 23.44 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.0007425/0.2238, allocations: 443.1 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2238, allocations: 12.02 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.2239, allocations: 54.55 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.2246, allocations: 67.59 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.225, allocations: 222.8 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.225, allocations: 8.281 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.2251, allocations: 24 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.2256, allocations: 271.6 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2256, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2257, allocations: 11.98 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.2257, allocations: 20.22 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.2262, allocations: 212.4 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.2283, allocations: 1.576 MB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.2289, allocations: 323.3 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.229, allocations: 73.59 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2291, allocations: 0 / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2291, allocations: 34.56 kB / 0.9863 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.2291, allocations: 0 / 0.9863 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007028/0.2298, allocations: 240.6 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2299, allocations: 77.11 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2301, allocations: 203.3 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2301, allocations: 25.7 kB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.2302, allocations: 156 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2303, allocations: 43.48 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.2303, allocations: 7.938 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.2304, allocations: 322.8 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2305, allocations: 67.91 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.2307, allocations: 156.4 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.231, allocations: 87.91 kB / 0.9877 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.231, allocations: 0 / 0.9877 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005314/0.2315, allocations: 265 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.2316, allocations: 171.7 kB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2316, allocations: 4 kB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2317, allocations: 4 kB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2321, allocations: 55.91 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2321, allocations: 7.938 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.2323, allocations: 15.98 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2324, allocations: 8 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.2324, allocations: 8 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003938/0.2328, allocations: 199.6 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2328, allocations: 0 / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.2328, allocations: 11.95 kB / 0.9884 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2331, allocations: 47.91 kB / 0.9884 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2332, allocations: 8.312 kB / 0.9884 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2333, allocations: 19.89 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2334, allocations: 8 kB / 0.9885 GB, free: 17.46 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.0001489/0.2335, allocations: 221 kB / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.2336, allocations: 15.91 kB / 0.9887 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.234, allocations: 138.9 kB / 0.9888 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.234, allocations: 7.953 kB / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-06/0.234, allocations: 0 / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.234, allocations: 0 / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2352, allocations: 0.7277 MB / 0.9895 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2352, allocations: 0 / 0.9895 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.2354, allocations: 23.98 kB / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.2354, allocations: 4 kB / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2354, allocations: 12.12 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2355, allocations: 7.984 kB / 0.9896 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2355, allocations: 7.938 kB / 0.9896 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.2358, allocations: 378.2 kB / 0.99 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.2359, allocations: 104.9 kB / 0.9901 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.236, allocations: 11.98 kB / 0.9901 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.2362, allocations: 4 kB / 0.9901 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.2363, allocations: 19.94 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2363, allocations: 4 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001521/0.2365, allocations: 148.9 kB / 0.9902 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2365, allocations: 7.938 kB / 0.9902 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006665/0.2371, allocations: 68 kB / 0.9903 GB, free: 15.42 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.0006207/0.2378, allocations: 0.9142 MB / 0.9912 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006499/0.2384, allocations: 263.5 kB / 0.9914 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2385, allocations: 0 / 0.9914 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2386, allocations: 61.34 kB / 0.9915 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.2393, allocations: 36.81 kB / 0.9915 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2413, allocations: 1.13 MB / 0.9926 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2415, allocations: 0.7363 MB / 0.9934 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003779/0.2419, allocations: 77.5 kB / 0.9934 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.2421, allocations: 43.42 kB / 0.9935 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.2421, allocations: 0 / 0.9935 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2657, allocations: 3.316 MB / 0.9967 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.266, allocations: 210.2 kB / 0.9969 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.823, allocations: 0 / 0.9969 GB, free: 8.602 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)