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.795/2.795, allocations: 287.5 MB / 302.4 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.001395/0.001394, allocations: 183.2 kB / 371 MB, free: 10.84 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.156/2.156, 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.0009002/0.0008999, allocations: 89.3 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006523, allocations: 13.08 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2794, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00624/0.2857, allocations: 3.255 MB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004651/0.2904, allocations: 1.736 MB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00056/0.2911, allocations: 15.88 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.2915, allocations: 55.5 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.2927, allocations: 226.8 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2937, allocations: 188.2 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2951, allocations: 0.6283 MB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.2961, allocations: 343.6 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.2967, allocations: 199.1 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.2972, allocations: 211.1 kB / 0.9851 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.2973, allocations: 12 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.2979, allocations: 135.8 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.2981, allocations: 99.64 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2982, allocations: 97.45 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.299, allocations: 439.2 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2991, allocations: 0 / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2991, allocations: 0 / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2991, allocations: 0 / 0.9859 GB, free: 20.57 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.001621/0.3007, allocations: 0.6777 MB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3008, allocations: 12.02 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.3009, allocations: 78.45 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.303, allocations: 139.2 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009969/0.304, allocations: 362.6 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.3041, allocations: 20.66 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3042, allocations: 27.98 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3058, allocations: 0.5476 MB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.3059, allocations: 11.94 kB / 0.9877 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.306, allocations: 12 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.3061, allocations: 40.53 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.3077, allocations: 425.6 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.3126, allocations: 3.334 MB / 0.9914 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.314, allocations: 338.6 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.3147, allocations: 190.1 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.3148, allocations: 0 / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3148, allocations: 34.56 kB / 0.9919 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.735e-06/0.3148, allocations: 0 / 0.9919 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.004323/0.3192, allocations: 1.083 MB / 0.993 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3193, allocations: 55.64 kB / 0.9931 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.3199, allocations: 337.5 kB / 0.9934 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.32, allocations: 33.69 kB / 0.9934 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3202, allocations: 243.5 kB / 0.9936 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3204, allocations: 98.64 kB / 0.9937 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3204, allocations: 4 kB / 0.9937 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3205, allocations: 354.8 kB / 0.9941 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.3212, allocations: 148.8 kB / 0.9942 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.3219, allocations: 299 kB / 0.9945 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.3227, allocations: 197 kB / 0.9947 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3227, allocations: 0 / 0.9947 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002247/0.325, allocations: 0.5737 MB / 0.9953 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.3251, allocations: 8 kB / 0.9953 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3251, allocations: 4 kB / 0.9953 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.3258, allocations: 94.44 kB / 0.9954 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/0.3267, allocations: 80.11 kB / 0.9954 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.3268, allocations: 19.92 kB / 0.9954 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.3275, allocations: 31.97 kB / 0.9955 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.3276, allocations: 20 kB / 0.9955 GB, free: 10.08 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.0003753/0.328, allocations: 169.7 kB / 0.9957 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3282, allocations: 43.47 kB / 0.9957 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3301, allocations: 483.9 kB / 0.9962 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.3302, allocations: 4 kB / 0.9962 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.3302, allocations: 0 / 0.9962 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3303, allocations: 0 / 0.9962 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.3334, allocations: 0.9639 MB / 0.9971 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.3335, allocations: 0 / 0.9971 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.3341, allocations: 55.95 kB / 0.9972 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.3348, allocations: 78.45 kB / 0.9972 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.3348, allocations: 8 kB / 0.9972 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.3349, allocations: 4 kB / 0.9972 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3349, allocations: 7.938 kB / 0.9973 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3368, allocations: 0.555 MB / 0.9978 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.3371, allocations: 140.6 kB / 0.9979 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3373, allocations: 11.98 kB / 0.9979 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.3379, allocations: 19.98 kB / 0.998 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.338, allocations: 27.89 kB / 0.998 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.3381, allocations: 8 kB / 0.998 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004895/0.3386, allocations: 235.2 kB / 0.9982 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.62e-07/0.3386, allocations: 0 / 0.9982 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001054/0.3397, allocations: 88 kB / 0.9983 GB, free: 7.039 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.002328/0.342, allocations: 1.1 MB / 0.9994 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.344, allocations: 0.6431 MB / 1 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.344, allocations: 0 / 1 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009286/0.345, allocations: 438.6 kB / 1 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.3469, allocations: 126.6 kB / 1.001 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.3543, allocations: 2.369 MB / 1.003 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.3548, allocations: 0.8273 MB / 1.004 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006399/0.3555, allocations: 79.36 kB / 1.004 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.3559, allocations: 131.4 kB / 1.004 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.874e-06/0.3559, allocations: 0 / 1.004 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.3981, allocations: 7.816 MB / 1.012 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000391/0.3985, allocations: 226.4 kB / 1.012 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.277, allocations: 3.75 kB / 1.012 GB, free: 9.23 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)