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.674/2.674, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.002203/0.002203, allocations: 174.5 kB / 371 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.187/2.187, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0008791/0.0008789, allocations: 85.36 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007588/0.0007591, allocations: 12.08 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.241, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00586/0.2469, allocations: 4.256 MB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004763/0.2517, allocations: 2.352 MB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.2524, allocations: 19.81 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.2528, allocations: 87.22 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.2541, allocations: 346.1 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2552, allocations: 285.9 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2566, allocations: 0.9641 MB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009507/0.2575, allocations: 420.3 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.2581, allocations: 290.6 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.2587, allocations: 326.6 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.83e-05/0.2588, allocations: 20 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/0.2595, allocations: 203.7 kB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.2597, allocations: 155.5 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.2599, allocations: 137.4 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009163/0.2608, allocations: 0.6469 MB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2609, allocations: 0 / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2609, allocations: 0 / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2609, allocations: 0 / 0.9887 GB, free: 17.73 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.001585/0.2625, allocations: 0.8333 MB / 0.9895 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.2626, allocations: 16.02 kB / 0.9895 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.2627, allocations: 86.52 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.2646, allocations: 206.9 kB / 0.9898 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009918/0.2656, allocations: 469.4 kB / 0.9902 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2657, allocations: 36.98 kB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.2658, allocations: 43.98 kB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.2672, allocations: 0.8405 MB / 0.9911 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.2672, allocations: 15.84 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.2673, allocations: 20 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.2674, allocations: 64.95 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2686, allocations: 0.5655 MB / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.2737, allocations: 5.651 MB / 0.9973 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.2747, allocations: 454.3 kB / 0.9977 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.2752, allocations: 225.2 kB / 0.9979 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/0.2753, allocations: 11.89 kB / 0.9979 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2753, allocations: 42.55 kB / 0.998 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.955e-06/0.2753, allocations: 7.938 kB / 0.998 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003809/0.2792, allocations: 1.503 MB / 0.9995 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2792, allocations: 59.34 kB / 0.9995 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.2799, allocations: 494.9 kB / 1 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.2799, allocations: 29.7 kB / 1 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.2802, allocations: 358.8 kB / 1 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2803, allocations: 122.4 kB / 1 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2803, allocations: 12 kB / 1 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.2804, allocations: 362.8 kB / 1.001 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.2809, allocations: 197.2 kB / 1.001 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.2814, allocations: 443 kB / 1.001 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.282, allocations: 263.8 kB / 1.002 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.282, allocations: 0 / 1.002 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001903/0.2839, allocations: 0.8016 MB / 1.002 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.284, allocations: 8.188 kB / 1.002 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.284, allocations: 12 kB / 1.003 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/0.2848, allocations: 152.2 kB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.2856, allocations: 119.8 kB / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/0.2897, allocations: 4.038 MB / 1.007 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.2904, allocations: 31.97 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.2905, allocations: 28 kB / 1.007 GB, free: 13.83 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.0004654/0.291, allocations: 214.5 kB / 1.007 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.2911, allocations: 63.2 kB / 1.007 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2929, allocations: 0.6011 MB / 1.008 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.293, allocations: 7.953 kB / 1.008 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.293, allocations: 4 kB / 1.008 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.293, allocations: 0 / 1.008 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.2962, allocations: 1.258 MB / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.2962, allocations: 0 / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.2968, allocations: 59.89 kB / 1.009 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007552/0.2975, allocations: 136.4 kB / 1.009 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.2976, allocations: 15.98 kB / 1.009 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/0.3024, allocations: 4.028 MB / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3025, allocations: 4.031 kB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3044, allocations: 0.7077 MB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.3048, allocations: 168.3 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3049, allocations: 8 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.3053, allocations: 23.97 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3055, allocations: 31.95 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.3055, allocations: 12 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005963/0.3061, allocations: 330.8 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3061, allocations: 0 / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009563/0.3071, allocations: 136 kB / 1.014 GB, free: 5.445 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.002207/0.3093, allocations: 1.265 MB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.3118, allocations: 1.037 MB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.3118, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.3133, allocations: 0.7347 MB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.315, allocations: 178.1 kB / 1.017 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007949/0.3229, allocations: 3.433 MB / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.3237, allocations: 0.9019 MB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006985/0.3244, allocations: 121.3 kB / 1.022 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.3249, allocations: 195.4 kB / 1.022 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of SimCode: time 7.193e-06/0.3249, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.3719, allocations: 12.07 MB / 1.034 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.3722, allocations: 220.6 kB / 1.034 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/3.366, allocations: 4 kB / 1.034 GB, free: 1.094 MB / 0.6511 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)