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.001567/0.001567, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 187.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.842/1.842, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00141/0.00141, allocations: 71.36 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004077/0.2333, allocations: 2.746 MB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.2362, allocations: 2.039 MB / 0.7883 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2363, allocations: 7.938 kB / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.237, allocations: 227 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.2374, allocations: 191.2 kB / 0.7887 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.238, allocations: 278.6 kB / 0.789 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2383, allocations: 322.8 kB / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2386, allocations: 170.2 kB / 0.7894 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.2388, allocations: 119.6 kB / 0.7896 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.2391, allocations: 155.5 kB / 0.7897 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.2391, allocations: 20 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.2396, allocations: 375.3 kB / 0.7901 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.2397, allocations: 91.78 kB / 0.7902 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2398, allocations: 115.4 kB / 0.7903 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2403, allocations: 470.7 kB / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2403, allocations: 0 / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2404, allocations: 4 kB / 0.7907 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2404, allocations: 0 / 0.7907 GB, free: 5.992 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.0008298/0.2412, allocations: 0.5536 MB / 0.7913 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2412, allocations: 8.031 kB / 0.7913 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.2413, allocations: 54.73 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.242, allocations: 108.5 kB / 0.7914 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2423, allocations: 264.4 kB / 0.7917 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2423, allocations: 16.81 kB / 0.7917 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.2424, allocations: 19.94 kB / 0.7917 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.243, allocations: 385.9 kB / 0.7921 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.243, allocations: 0 / 0.7921 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.243, allocations: 8 kB / 0.7921 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.2431, allocations: 27.92 kB / 0.7921 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.2437, allocations: 359.6 kB / 0.7925 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2455, allocations: 1.722 MB / 0.7942 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.2462, allocations: 347.8 kB / 0.7945 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2465, allocations: 193.6 kB / 0.7947 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.2467, allocations: 89.11 kB / 0.7948 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2467, allocations: 34.55 kB / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.2467, allocations: 0 / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.006976/0.2537, allocations: 1.909 MB / 0.7967 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2538, allocations: 81.11 kB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2539, allocations: 184.2 kB / 0.7969 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.254, allocations: 37.64 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.2541, allocations: 156.3 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.2542, allocations: 118.2 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2543, allocations: 81.59 kB / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2544, allocations: 330.8 kB / 0.7976 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.2549, allocations: 252.7 kB / 0.7978 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.2554, allocations: 337.5 kB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.2563, allocations: 0.5995 MB / 0.7987 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2563, allocations: 0 / 0.7987 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0011/0.2574, allocations: 0.6389 MB / 0.7994 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2575, allocations: 8 kB / 0.7994 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2575, allocations: 4 kB / 0.7994 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2575, allocations: 4 kB / 0.7994 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.2584, allocations: 147.8 kB / 0.7995 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2584, allocations: 7.984 kB / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2588, allocations: 48.11 kB / 0.7996 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.2588, allocations: 20 kB / 0.7996 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005167/0.2594, allocations: 356 kB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004735/0.2599, allocations: 333.1 kB / 0.8003 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008876/0.2608, allocations: 0.5588 MB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.2608, allocations: 0 / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001055/0.2618, allocations: 0.6182 MB / 0.8014 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2618, allocations: 11.94 kB / 0.8014 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.2619, allocations: 0 / 0.8014 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.2619, allocations: 4 kB / 0.8014 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.2627, allocations: 152 kB / 0.8016 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2627, allocations: 4 kB / 0.8016 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.2631, allocations: 51.92 kB / 0.8016 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.2631, allocations: 12 kB / 0.8016 GB, free: 10.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.2633, allocations: 205.5 kB / 0.8018 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.2634, allocations: 15.81 kB / 0.8018 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.2647, allocations: 0.6723 MB / 0.8025 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2647, allocations: 4 kB / 0.8025 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2647, allocations: 0 / 0.8025 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2647, allocations: 3.984 kB / 0.8025 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2667, allocations: 1.363 MB / 0.8038 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2667, allocations: 7.984 kB / 0.8038 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.2673, allocations: 123.8 kB / 0.804 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2673, allocations: 4 kB / 0.804 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.2673, allocations: 11.94 kB / 0.804 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.2674, allocations: 7.938 kB / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2674, allocations: 4.25 kB / 0.804 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2684, allocations: 0.7031 MB / 0.8047 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.2685, allocations: 144.7 kB / 0.8048 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.2686, allocations: 11.94 kB / 0.8048 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.2689, allocations: 39.94 kB / 0.8049 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.269, allocations: 27.97 kB / 0.8049 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.269, allocations: 16 kB / 0.8049 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001228/0.2692, allocations: 144.9 kB / 0.805 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2692, allocations: 4 kB / 0.805 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007027/0.2699, allocations: 144 kB / 0.8052 GB, free: 6.492 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 (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.001327/0.2712, allocations: 1.287 MB / 0.8064 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.2727, allocations: 0.851 MB / 0.8073 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2727, allocations: 3.938 kB / 0.8073 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.2732, allocations: 252.8 kB / 0.8075 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.2737, allocations: 50.45 kB / 0.8076 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.2786, allocations: 3.794 MB / 0.8113 GB, free: 36 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.279, allocations: 0.7838 MB / 0.812 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004818/0.2795, allocations: 178.8 kB / 0.8122 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.2797, allocations: 79.41 kB / 0.8123 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.2797, allocations: 0 / 0.8123 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3036, allocations: 7.245 MB / 0.8194 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.31, allocations: 10.5 kB / 0.8194 GB, free: 7.855 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)