Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.764/2.764, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001505/0.001505, allocations: 183.5 kB / 370.8 MB, free: 10.85 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.201/2.201, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001147/0.001147, allocations: 96.05 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 12.33 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2158, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004662/0.2205, allocations: 3.161 MB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.2241, allocations: 1.705 MB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.2246, allocations: 15.88 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.2248, allocations: 47.67 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.2258, allocations: 239.2 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.2266, allocations: 185.2 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.2274, allocations: 392.8 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.2283, allocations: 330.4 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.2288, allocations: 195.3 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.2292, allocations: 187.2 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.2293, allocations: 12 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.2296, allocations: 103.9 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2298, allocations: 95.66 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2299, allocations: 97.45 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.2305, allocations: 407.2 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2305, allocations: 4 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2305, allocations: 0 / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2305, allocations: 0 / 0.9853 GB, free: 21.08 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001315/0.2319, allocations: 0.6621 MB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2319, allocations: 16.02 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.2321, allocations: 70.52 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.2331, allocations: 123.3 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.2338, allocations: 358.6 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2339, allocations: 24.64 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.234, allocations: 28 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.235, allocations: 0.5631 MB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.2351, allocations: 8 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.2351, allocations: 15.94 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-05/0.2352, allocations: 44.48 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2363, allocations: 421.7 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.2397, allocations: 3.333 MB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2407, allocations: 334.7 kB / 0.9911 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.2408, allocations: 7.938 kB / 0.9911 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2408, allocations: 34.56 kB / 0.9911 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 4.238e-06/0.2408, allocations: 0 / 0.9911 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002973/0.2438, allocations: 1.084 MB / 0.9922 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2439, allocations: 55.64 kB / 0.9922 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.2443, allocations: 341.5 kB / 0.9926 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2443, allocations: 33.7 kB / 0.9926 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2445, allocations: 243.6 kB / 0.9928 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.2446, allocations: 94.59 kB / 0.9929 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.2446, allocations: 12 kB / 0.9929 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.2447, allocations: 342.8 kB / 0.9933 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.2452, allocations: 152.8 kB / 0.9934 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.2457, allocations: 299 kB / 0.9937 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.2462, allocations: 193 kB / 0.9939 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2462, allocations: 0 / 0.9939 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001454/0.2476, allocations: 0.5772 MB / 0.9944 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2477, allocations: 10.03 kB / 0.9944 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2477, allocations: 7.984 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.2482, allocations: 87.08 kB / 0.9945 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.2488, allocations: 91.81 kB / 0.9946 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.2489, allocations: 8 kB / 0.9946 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.2493, allocations: 27.97 kB / 0.9947 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.2494, allocations: 20 kB / 0.9947 GB, free: 10.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.2496, allocations: 181.6 kB / 0.9948 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.2497, allocations: 39.53 kB / 0.9949 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.251, allocations: 472 kB / 0.9953 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2511, allocations: 4 kB / 0.9953 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2511, allocations: 0 / 0.9953 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2511, allocations: 0 / 0.9953 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.2531, allocations: 0.9716 MB / 0.9963 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2532, allocations: 0 / 0.9963 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.2536, allocations: 55.89 kB / 0.9963 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.254, allocations: 82.61 kB / 0.9964 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.2541, allocations: 7.984 kB / 0.9964 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2541, allocations: 0 / 0.9964 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2541, allocations: 7.938 kB / 0.9964 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2553, allocations: 0.5835 MB / 0.997 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2555, allocations: 144.6 kB / 0.9971 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.2556, allocations: 4 kB / 0.9971 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.256, allocations: 27.91 kB / 0.9972 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2561, allocations: 31.86 kB / 0.9972 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.2562, allocations: 12 kB / 0.9972 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002766/0.2565, allocations: 227.2 kB / 0.9974 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2565, allocations: 0 / 0.9974 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006079/0.2571, allocations: 92 kB / 0.9975 GB, free: 7.699 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.2586, allocations: 1.346 MB / 0.9988 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.2598, allocations: 0.6353 MB / 0.9995 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2598, allocations: 4 kB / 0.9995 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.2605, allocations: 438.5 kB / 0.9999 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.2614, allocations: 117.7 kB / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.2668, allocations: 5.361 MB / 1.005 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.2674, allocations: 0.8394 MB / 1.006 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.268, allocations: 79.36 kB / 1.006 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.2683, allocations: 136 kB / 1.006 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.2683, allocations: 0 / 1.006 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.3125, allocations: 7.795 MB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.3129, allocations: 217.7 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.072, allocations: 3.656 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)