Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001527/0.001527, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001885/0.001885, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.033/3.033, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_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.002013/0.002013, allocations: 61.31 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005426/0.3155, allocations: 3.866 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3186, allocations: 1.894 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3188, allocations: 27.75 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009112/0.3197, allocations: 278.6 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.3204, allocations: 306.5 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.321, allocations: 256.9 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.3217, allocations: 0.6052 MB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.3221, allocations: 242.7 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.3225, allocations: 255.1 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.3228, allocations: 235 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.3229, allocations: 28 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.3233, allocations: 283.4 kB / 1.335 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3235, allocations: 127.6 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3237, allocations: 206.8 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.3243, allocations: 0.5953 MB / 1.336 GB, free: 8.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3243, allocations: 0 / 1.336 GB, free: 8.773 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.103e-06/0.3243, allocations: 0 / 1.336 GB, free: 8.773 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3244, allocations: 0 / 1.336 GB, free: 8.773 MB / 1.029 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.001139/0.3255, allocations: 0.6759 MB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3255, allocations: 12.03 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.063e-05/0.3255, allocations: 16.78 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.126e-05/0.3256, allocations: 70.72 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.3265, allocations: 140.5 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.3271, allocations: 329.4 kB / 1.337 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3271, allocations: 25.02 kB / 1.337 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.3271, allocations: 32.33 kB / 1.337 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.328, allocations: 0.5546 MB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.328, allocations: 7.938 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.328, allocations: 15.98 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/0.3281, allocations: 40.62 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.3288, allocations: 414.1 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.3317, allocations: 3.259 MB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.3324, allocations: 318.5 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.3327, allocations: 160.7 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3327, allocations: 4 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3328, allocations: 34.56 kB / 1.342 GB, free: 2.305 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.3328, allocations: 4 kB / 1.342 GB, free: 2.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001996/0.3348, allocations: 0.8467 MB / 1.342 GB, free: 1.438 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3348, allocations: 51.64 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.3351, allocations: 345.6 kB / 1.343 GB, free: 1.027 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3352, allocations: 29.7 kB / 1.343 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3354, allocations: 256.1 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.3354, allocations: 95.17 kB / 1.343 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3356, allocations: 78.08 kB / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3357, allocations: 346.8 kB / 1.344 GB, free: 216 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.336, allocations: 152.8 kB / 1.344 GB, free: 64 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.3364, allocations: 294.5 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.3371, allocations: 482.3 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3371, allocations: 0 / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001043/0.3382, allocations: 0.5618 MB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3382, allocations: 4 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3382, allocations: 8 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.3385, allocations: 87.06 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3389, allocations: 95.81 kB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.3389, allocations: 7.938 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3391, allocations: 35.91 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3392, allocations: 12 kB / 1.345 GB, free: 14.35 MB / 1.045 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.0001949/0.3394, allocations: 174.2 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.3394, allocations: 47.72 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/0.3403, allocations: 468.5 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3403, allocations: 4 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3403, allocations: 0 / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3404, allocations: 0 / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3418, allocations: 0.9376 MB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3419, allocations: 3.938 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.3421, allocations: 47.95 kB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.3423, allocations: 90.55 kB / 1.347 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3424, allocations: 4 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3424, allocations: 4 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3424, allocations: 0 / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.3432, allocations: 0.543 MB / 1.347 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3433, allocations: 63.73 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.3434, allocations: 7.938 kB / 1.347 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3436, allocations: 23.91 kB / 1.348 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3437, allocations: 23.95 kB / 1.348 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3437, allocations: 8 kB / 1.348 GB, free: 11.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002308/0.3439, allocations: 239.2 kB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3439, allocations: 0 / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004062/0.3443, allocations: 88 kB / 1.348 GB, free: 11.46 MB / 1.045 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.001173/0.3455, allocations: 1.092 MB / 1.349 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.3463, allocations: 403 kB / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3463, allocations: 0 / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.3467, allocations: 197.3 kB / 1.35 GB, free: 9.719 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.3474, allocations: 133.8 kB / 1.35 GB, free: 9.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.3523, allocations: 3.738 MB / 1.353 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3527, allocations: 0.823 MB / 1.354 GB, free: 4.762 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00023/0.353, allocations: 83.34 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3531, allocations: 127.4 kB / 1.354 GB, free: 4.555 MB / 1.045 GB Notification: Performance of SimCode: time 8.92e-07/0.3531, allocations: 0 / 1.354 GB, free: 4.555 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3838, allocations: 8.695 MB / 1.363 GB, free: 12.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 6.094 kB / 1.363 GB, free: 12.09 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.325748727016617] Failed to read output from testmodel.py, exit status != 0: 12.16186807199847 12.186498528 11.857373747 Calling exit ...