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.001096/0.001096, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 188 kB / 16.62 MB, free: 6.582 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001642/0.001642, allocations: 68.39 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.251, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006271/0.2573, allocations: 3.76 MB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2607, allocations: 1.825 MB / 0.7891 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.2612, allocations: 19.88 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.2623, allocations: 269.6 kB / 0.7894 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2634, allocations: 290.4 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.2643, allocations: 251.4 kB / 0.7899 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.2654, allocations: 0.6127 MB / 0.7905 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.2661, allocations: 254.5 kB / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.2667, allocations: 235.1 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.2673, allocations: 231 kB / 0.7912 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-05/0.2674, allocations: 32 kB / 0.7912 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.2681, allocations: 275.4 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2683, allocations: 127.6 kB / 0.7916 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.2686, allocations: 210.8 kB / 0.7918 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.2696, allocations: 0.5843 MB / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2696, allocations: 0 / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2696, allocations: 3.938 kB / 0.7924 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.2696, allocations: 0 / 0.7924 GB, free: 4.27 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.001715/0.2714, allocations: 0.7439 MB / 0.7931 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.2714, allocations: 8.031 kB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.2715, allocations: 70.72 kB / 0.7932 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2726, allocations: 136.2 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.2733, allocations: 403.6 kB / 0.7937 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.2734, allocations: 21.03 kB / 0.7937 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.2734, allocations: 32.36 kB / 0.7937 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.2743, allocations: 0.5572 MB / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.2743, allocations: 11.84 kB / 0.7943 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.2743, allocations: 12 kB / 0.7943 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.2744, allocations: 44.52 kB / 0.7943 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.2751, allocations: 409.7 kB / 0.7947 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2781, allocations: 3.334 MB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.2788, allocations: 331.1 kB / 0.7983 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2791, allocations: 180.8 kB / 0.7985 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.2791, allocations: 4 kB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2792, allocations: 30.56 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.2792, allocations: 4 kB / 0.7985 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002052/0.2812, allocations: 1.062 MB / 0.7995 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2813, allocations: 55.64 kB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.2817, allocations: 337.6 kB / 0.7999 GB, free: 12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2817, allocations: 37.64 kB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.2819, allocations: 247.5 kB / 0.8002 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.282, allocations: 94.64 kB / 0.8003 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2821, allocations: 78.03 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2822, allocations: 346.8 kB / 0.8007 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.2825, allocations: 148.8 kB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.2829, allocations: 294.5 kB / 0.8011 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.2836, allocations: 483.9 kB / 0.8016 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2836, allocations: 0 / 0.8016 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000941/0.2846, allocations: 0.5672 MB / 0.8021 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2846, allocations: 8 kB / 0.8021 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2846, allocations: 4 kB / 0.8021 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.285, allocations: 90.5 kB / 0.8022 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.2853, allocations: 87.81 kB / 0.8023 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.2853, allocations: 7.938 kB / 0.8023 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.2856, allocations: 31.97 kB / 0.8023 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2856, allocations: 20.03 kB / 0.8024 GB, free: 9.324 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.0002193/0.2859, allocations: 176.5 kB / 0.8025 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.2859, allocations: 47.5 kB / 0.8026 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008897/0.2868, allocations: 468 kB / 0.803 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2869, allocations: 0 / 0.803 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.046e-06/0.2869, allocations: 4 kB / 0.803 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2869, allocations: 0 / 0.803 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2883, allocations: 0.9615 MB / 0.804 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2883, allocations: 3.938 kB / 0.804 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.2886, allocations: 51.95 kB / 0.804 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.2888, allocations: 74.52 kB / 0.8041 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.2888, allocations: 8 kB / 0.8041 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2888, allocations: 3.938 kB / 0.8041 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2889, allocations: 4 kB / 0.8041 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.2897, allocations: 0.5429 MB / 0.8046 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.2898, allocations: 140.6 kB / 0.8048 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.2899, allocations: 15.98 kB / 0.8048 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2901, allocations: 23.92 kB / 0.8048 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.2902, allocations: 23.95 kB / 0.8048 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.2902, allocations: 8 kB / 0.8048 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002532/0.2905, allocations: 231.2 kB / 0.8051 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2905, allocations: 0 / 0.8051 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004393/0.2909, allocations: 88 kB / 0.8051 GB, free: 6.316 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.001224/0.2921, allocations: 1.092 MB / 0.8062 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.2932, allocations: 0.6432 MB / 0.8068 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2932, allocations: 4.062 kB / 0.8068 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.2937, allocations: 435.2 kB / 0.8072 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.2945, allocations: 130.1 kB / 0.8074 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.2993, allocations: 3.708 MB / 0.811 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.2998, allocations: 0.8346 MB / 0.8118 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.3001, allocations: 79.36 kB / 0.8119 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3003, allocations: 123.4 kB / 0.812 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/0.3003, allocations: 0 / 0.812 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3288, allocations: 8.224 MB / 0.82 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.588/9.917, allocations: 14.94 kB / 0.82 GB, free: 6.828 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)