Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.001869/0.001869, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002524/0.002524, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.481/1.481, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.113/3.113, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.001979/0.001979, allocations: 63.31 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3675, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004645/0.3721, allocations: 2.733 MB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.3758, allocations: 2.03 MB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.3759, allocations: 7.938 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.3768, allocations: 226.7 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.3774, allocations: 227.1 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.3782, allocations: 275.2 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.3787, allocations: 334.8 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.379, allocations: 137.9 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.3793, allocations: 131.6 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.3796, allocations: 171.4 kB / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.3796, allocations: 24 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.3803, allocations: 403.2 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3805, allocations: 111.6 kB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3806, allocations: 95.58 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.3813, allocations: 0.4944 MB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3813, allocations: 4 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3813, allocations: 0 / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3813, allocations: 3.938 kB / 1.352 GB, free: 8.582 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001054/0.3824, allocations: 0.4933 MB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3824, allocations: 8.031 kB / 1.353 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3824, allocations: 12.62 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.3825, allocations: 58.72 kB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/0.3835, allocations: 124.6 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3839, allocations: 206.6 kB / 1.353 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3839, allocations: 16.56 kB / 1.353 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.3839, allocations: 20 kB / 1.353 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.3847, allocations: 431.6 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3847, allocations: 4 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.3848, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.3848, allocations: 19.98 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.3855, allocations: 383.6 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3877, allocations: 1.402 MB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.3884, allocations: 344.9 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.3888, allocations: 177.6 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.3889, allocations: 12.39 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.3889, allocations: 38.56 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/0.3889, allocations: 0 / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.009701/0.3986, allocations: 2.239 MB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3987, allocations: 89.05 kB / 1.358 GB, free: 2.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3989, allocations: 179.2 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.399, allocations: 29.7 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3991, allocations: 152.7 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3992, allocations: 126.9 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.3994, allocations: 77.69 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3995, allocations: 334.8 kB / 1.359 GB, free: 1.387 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.4002, allocations: 292.6 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.4008, allocations: 391.9 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.4021, allocations: 0.6581 MB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4021, allocations: 4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001476/0.4036, allocations: 0.706 MB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4036, allocations: 4 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4036, allocations: 7.984 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4036, allocations: 4 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.4049, allocations: 203.6 kB / 1.361 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.405, allocations: 4.188 kB / 1.361 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.4055, allocations: 59.91 kB / 1.361 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.4055, allocations: 16 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007203/0.4062, allocations: 399.9 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006437/0.4069, allocations: 379 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/0.4081, allocations: 0.6449 MB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/0.4081, allocations: 7.922 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00142/0.4095, allocations: 0.6767 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4095, allocations: 10 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4095, allocations: 4 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-06/0.4096, allocations: 7.938 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4108, allocations: 199.6 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.4108, allocations: 4 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.4113, allocations: 51.92 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.4114, allocations: 23.98 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.4116, allocations: 200.1 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.4117, allocations: 23.86 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.4132, allocations: 0.7156 MB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.4132, allocations: 4 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4132, allocations: 3.984 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4132, allocations: 8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.4156, allocations: 1.236 MB / 1.366 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4156, allocations: 0 / 1.366 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.4163, allocations: 143.7 kB / 1.366 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.4163, allocations: 8 kB / 1.366 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.4164, allocations: 11.94 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.4164, allocations: 7.984 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4164, allocations: 4 kB / 1.366 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4175, allocations: 0.7305 MB / 1.367 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4176, allocations: 63.81 kB / 1.367 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.4177, allocations: 15.94 kB / 1.367 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.4181, allocations: 39.94 kB / 1.367 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.4182, allocations: 27.95 kB / 1.367 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.4182, allocations: 12 kB / 1.367 GB, free: 9.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001967/0.4184, allocations: 167.5 kB / 1.367 GB, free: 8.973 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4184, allocations: 0 / 1.367 GB, free: 8.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007708/0.4192, allocations: 155.9 kB / 1.367 GB, free: 8.82 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.4207, allocations: 1.316 MB / 1.369 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.4226, allocations: 0.8594 MB / 1.369 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4226, allocations: 0 / 1.369 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.423, allocations: 256.6 kB / 1.37 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.4236, allocations: 41.66 kB / 1.37 GB, free: 6.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.4299, allocations: 4.02 MB / 1.374 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.4301, allocations: 173.9 kB / 1.374 GB, free: 1.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005749/0.4306, allocations: 182.8 kB / 1.374 GB, free: 1.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.4309, allocations: 87.39 kB / 1.374 GB, free: 1.66 MB / 1.061 GB Notification: Performance of SimCode: time 1.403e-06/0.4309, allocations: 0 / 1.374 GB, free: 1.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.4616, allocations: 8.764 MB / 1.383 GB, free: 9.082 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 12 kB / 1.383 GB, free: 9.07 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.56753875303548] Failed to read output from testmodel.py, exit status != 0: 11.994796349084936 12.026242933 11.639366536 Calling exit ...