Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.8 MB / 0.7715 GB, free: 3.848 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 61.08 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 170 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005576/0.3094, allocations: 3.599 MB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3123, allocations: 1.762 MB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3125, allocations: 27.75 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000872/0.3134, allocations: 262.6 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.314, allocations: 314.4 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.3145, allocations: 253 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.3152, allocations: 0.6052 MB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.3156, allocations: 234.6 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.316, allocations: 255 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3163, allocations: 239 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.3164, allocations: 28 kB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.3168, allocations: 247.4 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3169, allocations: 127.6 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3171, allocations: 175.1 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007005/0.3178, allocations: 0.5987 MB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3178, allocations: 4 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3178, allocations: 0 / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3178, allocations: 0 / 1.293 GB, free: 1.879 MB / 0.9825 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.001187/0.319, allocations: 0.672 MB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.319, allocations: 8.031 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.276e-05/0.3191, allocations: 8.844 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.718e-05/0.3191, allocations: 74.7 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.32, allocations: 136.5 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.3206, allocations: 349.3 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3206, allocations: 25.03 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.3207, allocations: 32.36 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.3216, allocations: 0.6221 MB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3216, allocations: 11.89 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.3217, allocations: 12 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.3217, allocations: 40.64 kB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.3224, allocations: 410.1 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.3252, allocations: 2.753 MB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.3259, allocations: 310.5 kB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.3262, allocations: 160.8 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3262, allocations: 4 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3262, allocations: 30.56 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.3262, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.001969/0.3282, allocations: 0.8515 MB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3282, allocations: 59.52 kB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3286, allocations: 341.6 kB / 1.299 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3286, allocations: 29.7 kB / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3288, allocations: 256.1 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.3289, allocations: 99.16 kB / 1.3 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.329, allocations: 78.09 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3292, allocations: 346.8 kB / 1.3 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.3295, allocations: 148.8 kB / 1.3 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3299, allocations: 286.5 kB / 1.3 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.3306, allocations: 482.3 kB / 1.301 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3306, allocations: 0 / 1.301 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001005/0.3316, allocations: 0.5617 MB / 1.301 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3316, allocations: 10.5 kB / 1.301 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3316, allocations: 4 kB / 1.301 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.3319, allocations: 91.14 kB / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.3323, allocations: 83.88 kB / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.3323, allocations: 23.84 kB / 1.302 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3325, allocations: 23.98 kB / 1.302 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3326, allocations: 23.98 kB / 1.302 GB, free: 7.988 MB / 0.9981 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.0002145/0.3328, allocations: 173.6 kB / 1.302 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.3329, allocations: 43.72 kB / 1.302 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.3338, allocations: 468.5 kB / 1.302 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3338, allocations: 4 kB / 1.302 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3338, allocations: 3.984 kB / 1.302 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3338, allocations: 0 / 1.302 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3352, allocations: 0.892 MB / 1.303 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3352, allocations: 4.094 kB / 1.303 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.3355, allocations: 51.91 kB / 1.303 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.3357, allocations: 86.5 kB / 1.303 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3358, allocations: 8 kB / 1.303 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3358, allocations: 0 / 1.303 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.3358, allocations: 4 kB / 1.303 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.3366, allocations: 0.5468 MB / 1.304 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3368, allocations: 63.73 kB / 1.304 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.3368, allocations: 8 kB / 1.304 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.337, allocations: 27.84 kB / 1.304 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.3371, allocations: 23.95 kB / 1.304 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3371, allocations: 8 kB / 1.304 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002379/0.3374, allocations: 235.2 kB / 1.304 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3374, allocations: 0 / 1.304 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000407/0.3378, allocations: 88 kB / 1.304 GB, free: 5.145 MB / 0.9981 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.001184/0.339, allocations: 1.096 MB / 1.305 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.3398, allocations: 411.9 kB / 1.306 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3398, allocations: 0 / 1.306 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3402, allocations: 194.3 kB / 1.306 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.3409, allocations: 134.9 kB / 1.306 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.346, allocations: 3.731 MB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3462, allocations: 223.7 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.3464, allocations: 79.36 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3466, allocations: 127.4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/0.3466, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.3778, allocations: 9.108 MB / 1.319 GB, free: 6.059 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.42, allocations: 15.2 kB / 1.319 GB, free: 6.047 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.82653647090774] Failed to read output from testmodel.py, exit status != 0: 13.063567761913873 12.626269726 12.302736609 Calling exit ...