Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.635/2.635, allocations: 287.3 MB / 302.3 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.001539/0.001539, allocations: 180.4 kB / 370.8 MB, free: 10.88 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.1/2.1, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.0011/0.0011, allocations: 98.83 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004842, allocations: 11.55 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.241, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.009267/0.2504, allocations: 4.109 MB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006805/0.2572, allocations: 2.333 MB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.258, allocations: 19.81 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.2584, allocations: 71.45 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.2602, allocations: 362.9 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2616, allocations: 290.4 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.263, allocations: 0.5797 MB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.2641, allocations: 420.2 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.2646, allocations: 263 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.2651, allocations: 294.7 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.2652, allocations: 20 kB / 0.9868 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.2657, allocations: 143.8 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.2658, allocations: 143.5 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.266, allocations: 133.4 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.2667, allocations: 0.6002 MB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2667, allocations: 0 / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2668, allocations: 0 / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2668, allocations: 0 / 0.9878 GB, free: 18.51 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001532/0.2683, allocations: 0.8178 MB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2684, allocations: 12.02 kB / 0.9886 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.2685, allocations: 98.44 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2699, allocations: 178.9 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.2708, allocations: 481.4 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.2709, allocations: 29 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.271, allocations: 51.98 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2724, allocations: 0.8367 MB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.2724, allocations: 3.938 kB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.2725, allocations: 23.98 kB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.2726, allocations: 64.95 kB / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2739, allocations: 0.5655 MB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.2791, allocations: 5.654 MB / 0.9964 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.2801, allocations: 442.3 kB / 0.9968 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.2801, allocations: 4 kB / 0.9968 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2802, allocations: 54.97 kB / 0.9969 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.875e-06/0.2802, allocations: 0 / 0.9969 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003598/0.2838, allocations: 1.504 MB / 0.9983 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2839, allocations: 51.41 kB / 0.9984 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.2845, allocations: 494.9 kB / 0.9989 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.2845, allocations: 33.7 kB / 0.9989 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.2848, allocations: 358.8 kB / 0.9992 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.2849, allocations: 122.3 kB / 0.9993 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.2849, allocations: 12 kB / 0.9994 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.285, allocations: 362.8 kB / 0.9997 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.2855, allocations: 189.2 kB / 0.9999 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.286, allocations: 447 kB / 1 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.2866, allocations: 259.8 kB / 1.001 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2866, allocations: 0 / 1.001 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001894/0.2885, allocations: 0.8018 MB / 1.001 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2885, allocations: 15.97 kB / 1.001 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2886, allocations: 8 kB / 1.001 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/0.2893, allocations: 148.2 kB / 1.002 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.2901, allocations: 119.8 kB / 1.002 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.2938, allocations: 4.072 MB / 1.006 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.2945, allocations: 35.91 kB / 1.006 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.2946, allocations: 28 kB / 1.006 GB, free: 14.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004288/0.295, allocations: 209.9 kB / 1.006 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.2952, allocations: 67.23 kB / 1.006 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2969, allocations: 0.601 MB / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2969, allocations: 11.95 kB / 1.007 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2969, allocations: 4 kB / 1.007 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.297, allocations: 0 / 1.007 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3, allocations: 1.25 MB / 1.008 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3, allocations: 3.953 kB / 1.008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.3005, allocations: 55.89 kB / 1.008 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000748/0.3013, allocations: 140.4 kB / 1.008 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.3013, allocations: 11.94 kB / 1.008 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.306, allocations: 4.048 MB / 1.012 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3061, allocations: 4.062 kB / 1.012 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.3079, allocations: 0.7818 MB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.3083, allocations: 172.3 kB / 1.013 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3084, allocations: 8 kB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.3089, allocations: 19.97 kB / 1.013 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3091, allocations: 43.78 kB / 1.013 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.3091, allocations: 8 kB / 1.013 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000573/0.3097, allocations: 330.8 kB / 1.013 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3097, allocations: 0 / 1.013 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000916/0.3106, allocations: 144 kB / 1.013 GB, free: 6.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.313, allocations: 1.817 MB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.3155, allocations: 1.033 MB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3155, allocations: 8.062 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.317, allocations: 0.7302 MB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.3185, allocations: 182.5 kB / 1.017 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.3293, allocations: 8.996 MB / 1.026 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.3301, allocations: 0.9181 MB / 1.027 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006719/0.3308, allocations: 113.3 kB / 1.027 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.3313, allocations: 199.4 kB / 1.027 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.3313, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.3781, allocations: 12.04 MB / 1.039 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.3785, allocations: 219.9 kB / 1.039 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.293, allocations: 3.938 kB / 1.039 GB, free: 11.77 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)