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.001638/0.001638, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002102/0.002102, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002008/0.002008, allocations: 66.98 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3576, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006437/0.3641, allocations: 3.619 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.3679, allocations: 1.762 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.3685, allocations: 23.75 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3697, allocations: 266.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3709, allocations: 306.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.3718, allocations: 255.4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3728, allocations: 0.6052 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.3734, allocations: 246.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.3741, allocations: 243.1 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.3746, allocations: 254.9 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.3747, allocations: 24 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006026/0.3753, allocations: 243.5 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3755, allocations: 123.5 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.3758, allocations: 175.1 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3768, allocations: 0.5914 MB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3768, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3768, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.3768, allocations: 0 / 1.335 GB, free: 8.793 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.001528/0.3784, allocations: 0.6796 MB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3784, allocations: 12.03 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.498e-05/0.3784, allocations: 8.844 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.525e-05/0.3785, allocations: 70.7 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.3795, allocations: 140.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.3802, allocations: 345.4 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3802, allocations: 21.03 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.3803, allocations: 36.31 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.3812, allocations: 0.626 MB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3813, allocations: 7.938 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.3813, allocations: 12 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.3814, allocations: 40.62 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.3821, allocations: 414.1 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.3852, allocations: 2.753 MB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.3859, allocations: 307.6 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.3862, allocations: 164.7 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3862, allocations: 0 / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3862, allocations: 38.5 kB / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3862, allocations: 4 kB / 1.341 GB, free: 2.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002084/0.3883, allocations: 0.842 MB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3884, allocations: 59.64 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.3887, allocations: 341.6 kB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3888, allocations: 29.7 kB / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.389, allocations: 252.1 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.389, allocations: 107.1 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3892, allocations: 70.09 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3893, allocations: 350.8 kB / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3896, allocations: 144.8 kB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.39, allocations: 294.5 kB / 1.343 GB, free: 280 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.3908, allocations: 478.6 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3908, allocations: 0 / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001076/0.3919, allocations: 0.5662 MB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3919, allocations: 8.062 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3919, allocations: 8 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.3922, allocations: 86.52 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3926, allocations: 87.81 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.3926, allocations: 15.88 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.3929, allocations: 27.97 kB / 1.344 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3929, allocations: 20 kB / 1.344 GB, free: 14.9 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.000214/0.3931, allocations: 177.7 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.3932, allocations: 43.72 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.3941, allocations: 468.3 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3941, allocations: 4 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3941, allocations: 0 / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3941, allocations: 3.984 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.3957, allocations: 0.9004 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3957, allocations: 0 / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3959, allocations: 47.95 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/0.3962, allocations: 90.44 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.3962, allocations: 8 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3962, allocations: 4 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3962, allocations: 0 / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.3971, allocations: 0.5455 MB / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3973, allocations: 63.73 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.3973, allocations: 0 / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3976, allocations: 31.84 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.3977, allocations: 23.95 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3977, allocations: 4 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002651/0.3979, allocations: 239.2 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004646/0.3984, allocations: 87.94 kB / 1.347 GB, free: 12.05 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.001291/0.3997, allocations: 1.096 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.4006, allocations: 407.4 kB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4006, allocations: 0 / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.401, allocations: 190.3 kB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.4018, allocations: 120.7 kB / 1.349 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.4075, allocations: 3.736 MB / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4077, allocations: 227.7 kB / 1.353 GB, free: 5.969 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000285/0.408, allocations: 79.34 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4082, allocations: 131.4 kB / 1.353 GB, free: 5.762 MB / 1.045 GB Notification: Performance of SimCode: time 8.81e-07/0.4082, allocations: 0 / 1.353 GB, free: 5.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.4427, allocations: 9.113 MB / 1.362 GB, free: 12.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 9.953 kB / 1.362 GB, free: 12.95 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.021567724994384] Failed to read output from testmodel.py, exit status != 0: 12.566534452023916 12.583462872 12.203411900999999 Calling exit ...