Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007701/0.0007701, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008242/0.0008243, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005816, allocations: 11.16 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2676, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003288/0.2709, allocations: 2.369 MB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.2739, allocations: 1.885 MB / 0.7916 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2742, allocations: 4 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2744, allocations: 35.72 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.275, allocations: 135.4 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.2758, allocations: 207.5 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.2763, allocations: 366.9 kB / 0.7923 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.277, allocations: 350.8 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.2772, allocations: 103.6 kB / 0.7927 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.2776, allocations: 147.5 kB / 0.7929 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.2776, allocations: 8 kB / 0.7929 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.2782, allocations: 259.6 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2783, allocations: 79.78 kB / 0.7932 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.2784, allocations: 61.58 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.2789, allocations: 343.1 kB / 0.7936 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2789, allocations: 4 kB / 0.7936 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.279, allocations: 0 / 0.7936 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.279, allocations: 0 / 0.7936 GB, free: 5.492 MB / 0.6075 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.0009509/0.2799, allocations: 0.5222 MB / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.28, allocations: 8.031 kB / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/0.2801, allocations: 58.53 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.2808, allocations: 115.5 kB / 0.7943 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.2812, allocations: 243.3 kB / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2812, allocations: 16.42 kB / 0.7945 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.2813, allocations: 20 kB / 0.7945 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.282, allocations: 389.9 kB / 0.7949 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.282, allocations: 3.984 kB / 0.7949 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.282, allocations: 8 kB / 0.7949 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.2821, allocations: 23.77 kB / 0.7949 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.2828, allocations: 375.6 kB / 0.7953 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.2849, allocations: 1.73 MB / 0.797 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.2855, allocations: 344.9 kB / 0.7973 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.2859, allocations: 189.6 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.2861, allocations: 89.08 kB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.2861, allocations: 46.5 kB / 0.7976 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/0.2861, allocations: 0 / 0.7976 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.006922/0.2931, allocations: 2.068 MB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2931, allocations: 81.11 kB / 0.7997 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2933, allocations: 183.9 kB / 0.7999 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2934, allocations: 29.7 kB / 0.7999 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2935, allocations: 148.4 kB / 0.8001 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2936, allocations: 114.3 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2937, allocations: 8 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2938, allocations: 334.8 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.2943, allocations: 259.8 kB / 0.8007 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.2949, allocations: 345.4 kB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.2954, allocations: 293.3 kB / 0.8014 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2954, allocations: 0 / 0.8014 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001196/0.2966, allocations: 0.6583 MB / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.2968, allocations: 153.3 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2968, allocations: 7.938 kB / 0.8022 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2968, allocations: 4 kB / 0.8022 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.2976, allocations: 151.8 kB / 0.8023 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.2977, allocations: 11.95 kB / 0.8023 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.298, allocations: 59.92 kB / 0.8024 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.2981, allocations: 12 kB / 0.8024 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2981, allocations: 10.91 kB / 0.8024 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.2992, allocations: 0.5858 MB / 0.803 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2992, allocations: 8.062 kB / 0.803 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2992, allocations: 12.02 kB / 0.803 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.3, allocations: 151.8 kB / 0.8031 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3, allocations: 7.938 kB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.3004, allocations: 55.94 kB / 0.8032 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.3004, allocations: 15.98 kB / 0.8032 GB, free: 11.18 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.3007, allocations: 246.2 kB / 0.8034 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.3008, allocations: 23.72 kB / 0.8035 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3021, allocations: 0.6803 MB / 0.8041 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.3022, allocations: 7.938 kB / 0.8041 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3022, allocations: 0 / 0.8041 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3022, allocations: 0 / 0.8041 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.3045, allocations: 1.39 MB / 0.8055 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3045, allocations: 4 kB / 0.8055 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.305, allocations: 119.8 kB / 0.8056 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.3051, allocations: 4.25 kB / 0.8056 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3051, allocations: 12 kB / 0.8056 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.3051, allocations: 7.984 kB / 0.8056 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3051, allocations: 3.938 kB / 0.8056 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3062, allocations: 0.7385 MB / 0.8064 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3064, allocations: 144.7 kB / 0.8065 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.3064, allocations: 8 kB / 0.8065 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.3068, allocations: 47.94 kB / 0.8065 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.3069, allocations: 31.92 kB / 0.8066 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.3069, allocations: 12 kB / 0.8066 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001362/0.3071, allocations: 144.3 kB / 0.8067 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3071, allocations: 3.938 kB / 0.8067 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006751/0.3077, allocations: 144 kB / 0.8069 GB, free: 7.254 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.3091, allocations: 1.299 MB / 0.8081 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.3107, allocations: 0.8687 MB / 0.809 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3108, allocations: 4.188 kB / 0.809 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.3112, allocations: 267.6 kB / 0.8092 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.3118, allocations: 64.3 kB / 0.8093 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.3154, allocations: 2.242 MB / 0.8115 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3158, allocations: 0.7838 MB / 0.8123 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005453/0.3163, allocations: 166.8 kB / 0.8124 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.3165, allocations: 79.41 kB / 0.8125 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.3165, allocations: 0 / 0.8125 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3443, allocations: 6.746 MB / 0.8191 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.3446, allocations: 207.6 kB / 0.8193 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.19, allocations: 3.125 kB / 0.8193 GB, free: 10.5 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: