Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 91.69 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004713/0.004713, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005377, allocations: 14.84 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.24, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004546/0.2446, allocations: 3.413 MB / 0.7913 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2477, allocations: 1.817 MB / 0.7931 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.248, allocations: 15.88 kB / 0.7931 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.2482, allocations: 55.5 kB / 0.7932 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.2489, allocations: 266.7 kB / 0.7934 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.2494, allocations: 231.6 kB / 0.7937 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.2501, allocations: 0.7413 MB / 0.7944 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.2507, allocations: 370.9 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.251, allocations: 203 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.2513, allocations: 219 kB / 0.7951 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.2513, allocations: 12 kB / 0.7951 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.2518, allocations: 343.3 kB / 0.7955 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2519, allocations: 103.6 kB / 0.7956 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.2521, allocations: 216.6 kB / 0.7958 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.2526, allocations: 0.5841 MB / 0.7964 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2527, allocations: 0 / 0.7964 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2527, allocations: 0 / 0.7964 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2527, allocations: 0 / 0.7964 GB, free: 2.887 MB / 0.6075 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.0009986/0.2537, allocations: 0.6739 MB / 0.797 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2537, allocations: 8.031 kB / 0.797 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.2538, allocations: 78.64 kB / 0.7971 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.2546, allocations: 132.2 kB / 0.7972 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2551, allocations: 375.6 kB / 0.7976 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2551, allocations: 21.03 kB / 0.7976 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.2552, allocations: 32.36 kB / 0.7976 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.2559, allocations: 0.5625 MB / 0.7982 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.256, allocations: 0 / 0.7982 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.256, allocations: 19.98 kB / 0.7982 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.2561, allocations: 48.53 kB / 0.7982 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.2567, allocations: 413.7 kB / 0.7986 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.2593, allocations: 3.341 MB / 0.8019 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.2599, allocations: 338.5 kB / 0.8022 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2602, allocations: 185.8 kB / 0.8024 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2602, allocations: 4 kB / 0.8024 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2603, allocations: 34.5 kB / 0.8024 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.222e-06/0.2603, allocations: 0 / 0.8024 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.001905/0.2622, allocations: 1.089 MB / 0.8035 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2622, allocations: 55.64 kB / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.2626, allocations: 333.6 kB / 0.8039 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2626, allocations: 33.7 kB / 0.8039 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2628, allocations: 243.5 kB / 0.8041 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.2628, allocations: 98.64 kB / 0.8042 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.2629, allocations: 37.7 kB / 0.8043 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.263, allocations: 346.8 kB / 0.8046 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.2633, allocations: 156.8 kB / 0.8047 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.2637, allocations: 296.9 kB / 0.805 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.2647, allocations: 497.5 kB / 0.8055 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2647, allocations: 4 kB / 0.8055 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001419/0.2661, allocations: 0.5658 MB / 0.8061 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.2661, allocations: 8 kB / 0.8061 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2662, allocations: 4 kB / 0.8061 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.2666, allocations: 94.95 kB / 0.8062 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.2669, allocations: 87.88 kB / 0.8062 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.267, allocations: 15.88 kB / 0.8063 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.2672, allocations: 39.88 kB / 0.8063 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2673, allocations: 16 kB / 0.8063 GB, free: 7.984 MB / 0.6231 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.2675, allocations: 177.7 kB / 0.8065 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.2675, allocations: 35.62 kB / 0.8065 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/0.2685, allocations: 488.1 kB / 0.807 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2685, allocations: 4 kB / 0.807 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2685, allocations: 4 kB / 0.807 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2685, allocations: 3.984 kB / 0.807 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.2699, allocations: 0.9693 MB / 0.8079 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2699, allocations: 0 / 0.8079 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2701, allocations: 51.95 kB / 0.808 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/0.2703, allocations: 90.53 kB / 0.8081 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2704, allocations: 8 kB / 0.8081 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2704, allocations: 0 / 0.8081 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.2704, allocations: 4 kB / 0.8081 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.2712, allocations: 0.5506 MB / 0.8086 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2714, allocations: 140.6 kB / 0.8088 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.2714, allocations: 8 kB / 0.8088 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2716, allocations: 31.89 kB / 0.8088 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2717, allocations: 19.97 kB / 0.8088 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2717, allocations: 12 kB / 0.8088 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002017/0.2719, allocations: 239.1 kB / 0.8091 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 0.8091 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003784/0.2723, allocations: 87.98 kB / 0.8091 GB, free: 4.93 MB / 0.6231 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.2734, allocations: 1.096 MB / 0.8102 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008057/0.2742, allocations: 0.6546 MB / 0.8109 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2742, allocations: 0 / 0.8109 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.2746, allocations: 440.2 kB / 0.8113 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.2754, allocations: 125.3 kB / 0.8114 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.28, allocations: 3.919 MB / 0.8152 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2804, allocations: 0.8192 MB / 0.816 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.2806, allocations: 79.36 kB / 0.8161 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2808, allocations: 127.4 kB / 0.8162 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.2808, allocations: 0 / 0.8162 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.537/0.8178, allocations: 7.788 MB / 0.8238 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.8181, allocations: 232.4 kB / 0.824 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.837, allocations: 0 / 0.824 GB, free: 5.453 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)