Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",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.001079/0.001079, 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.001357/0.001358, 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 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.53/2.53, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7122, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003568/0.7158, allocations: 2.925 MB / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.7188, allocations: 2.004 MB / 0.986 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.7189, allocations: 11.88 kB / 0.986 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.7191, allocations: 35.7 kB / 0.986 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.7196, allocations: 187 kB / 0.9862 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.7202, allocations: 214.3 kB / 0.9864 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.7206, allocations: 438.6 kB / 0.9868 GB, free: 448 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.7211, allocations: 315.7 kB / 0.9871 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.7213, allocations: 131.5 kB / 0.9872 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.7216, allocations: 163.4 kB / 0.9874 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.7217, allocations: 12 kB / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.7221, allocations: 271.6 kB / 0.9877 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.7222, allocations: 91.7 kB / 0.9877 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.7223, allocations: 73.58 kB / 0.9878 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.7227, allocations: 375.1 kB / 0.9882 GB, free: 15 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7227, allocations: 0 / 0.9882 GB, free: 15 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7227, allocations: 4 kB / 0.9882 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7227, allocations: 0 / 0.9882 GB, free: 14.99 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009293/0.7237, allocations: 0.569 MB / 0.9887 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7237, allocations: 8.031 kB / 0.9887 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.7238, allocations: 66.47 kB / 0.9888 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.7246, allocations: 115.5 kB / 0.9889 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.725, allocations: 270.5 kB / 0.9892 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.725, allocations: 24.42 kB / 0.9892 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.7251, allocations: 19.95 kB / 0.9892 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.7258, allocations: 419.5 kB / 0.9896 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.7259, allocations: 0 / 0.9896 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.7259, allocations: 15.92 kB / 0.9896 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.726, allocations: 40.52 kB / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.7266, allocations: 350 kB / 0.99 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.729, allocations: 2.058 MB / 0.992 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/0.7298, allocations: 355 kB / 0.9923 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.7302, allocations: 209.9 kB / 0.9925 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.7304, allocations: 85.28 kB / 0.9926 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.7304, allocations: 38.75 kB / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.7304, allocations: 0 / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.00478/0.7352, allocations: 1.745 MB / 0.9944 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.7353, allocations: 89.05 kB / 0.9945 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.7355, allocations: 232.9 kB / 0.9947 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.7356, allocations: 37.7 kB / 0.9947 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7357, allocations: 180 kB / 0.9949 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.7358, allocations: 118.3 kB / 0.995 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.7358, allocations: 12 kB / 0.995 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7359, allocations: 334.8 kB / 0.9953 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.7363, allocations: 204.7 kB / 0.9955 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.7368, allocations: 313.1 kB / 0.9958 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.7372, allocations: 243.9 kB / 0.9961 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7372, allocations: 0 / 0.9961 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001217/0.7384, allocations: 0.6687 MB / 0.9967 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.7386, allocations: 184.1 kB / 0.9969 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.7386, allocations: 7.984 kB / 0.9969 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.7391, allocations: 155.2 kB / 0.997 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.7395, allocations: 99.81 kB / 0.9971 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.7424, allocations: 3.954 MB / 1.001 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.7427, allocations: 39.88 kB / 1.001 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.7428, allocations: 16 kB / 1.001 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.7428, allocations: 5.562 kB / 1.001 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/0.7439, allocations: 0.6122 MB / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.744, allocations: 4 kB / 1.002 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.7443, allocations: 147.4 kB / 1.002 GB, free: 132 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.7447, allocations: 95.88 kB / 1.002 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/0.7454, allocations: 1.109 MB / 1.003 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.7457, allocations: 35.97 kB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.7457, allocations: 20 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.746, allocations: 253 kB / 1.003 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.7461, allocations: 35.55 kB / 1.003 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.7473, allocations: 0.6327 MB / 1.004 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7473, allocations: 4 kB / 1.004 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7473, allocations: 4 kB / 1.004 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7473, allocations: 3.984 kB / 1.004 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.7495, allocations: 1.338 MB / 1.005 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.7495, allocations: 4 kB / 1.005 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.7497, allocations: 68.14 kB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.7502, allocations: 151.3 kB / 1.005 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.7502, allocations: 8 kB / 1.005 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.7529, allocations: 3.962 MB / 1.009 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.753, allocations: 4.031 kB / 1.009 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7541, allocations: 0.7975 MB / 1.01 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.7543, allocations: 140.7 kB / 1.01 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.7543, allocations: 8.094 kB / 1.01 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.7546, allocations: 39.95 kB / 1.01 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.7547, allocations: 43.84 kB / 1.01 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.7547, allocations: 8 kB / 1.01 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001463/0.7549, allocations: 176.5 kB / 1.011 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7549, allocations: 4 kB / 1.011 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007122/0.7556, allocations: 156 kB / 1.011 GB, free: 6.457 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.757, allocations: 1.361 MB / 1.012 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.7589, allocations: 1.204 MB / 1.013 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7589, allocations: 0 / 1.013 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.7597, allocations: 0.494 MB / 1.014 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.7602, allocations: 63.17 kB / 1.014 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.7636, allocations: 2.254 MB / 1.016 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.764, allocations: 0.8084 MB / 1.017 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.7644, allocations: 110.9 kB / 1.017 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.7645, allocations: 90.53 kB / 1.017 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7645, allocations: 0 / 1.017 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.7839, allocations: 8.284 MB / 1.025 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.784, allocations: 244.2 kB / 1.025 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.778, allocations: 0 / 1.025 GB, free: 7.512 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat