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.00143/0.00143, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001794/0.001794, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.475/2.475, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.6/4.6, allocations: 409.2 MB / 0.6838 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006575, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535/1.536, allocations: 146.8 MB / 0.9809 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.008648/1.545, allocations: 2.863 MB / 0.9837 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006716/1.552, allocations: 1.977 MB / 0.9856 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/1.552, allocations: 7.938 kB / 0.9856 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/1.553, allocations: 35.75 kB / 0.9856 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/1.554, allocations: 159.5 kB / 0.9858 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/1.555, allocations: 213.9 kB / 0.986 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001064/1.557, allocations: 223.5 kB / 0.9862 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/1.558, allocations: 327.7 kB / 0.9865 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/1.558, allocations: 107.7 kB / 0.9866 GB, free: 500 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/1.559, allocations: 127.5 kB / 0.9867 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/1.559, allocations: 12 kB / 0.9868 GB, free: 360 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/1.56, allocations: 255.6 kB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/1.56, allocations: 75.8 kB / 0.9871 GB, free: 28 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/1.56, allocations: 73.58 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/1.561, allocations: 375.1 kB / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.561, allocations: 0 / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.795e-06/1.561, allocations: 0 / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.561, allocations: 0 / 0.9875 GB, free: 15.58 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.001859/1.563, allocations: 0.5744 MB / 0.9881 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.824e-05/1.563, allocations: 12.03 kB / 0.9881 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/1.564, allocations: 58.53 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.566, allocations: 135.5 kB / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.567, allocations: 262.5 kB / 0.9885 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/1.567, allocations: 24.38 kB / 0.9885 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/1.567, allocations: 27.88 kB / 0.9886 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.568, allocations: 411.6 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/1.568, allocations: 3.938 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/1.568, allocations: 8 kB / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/1.568, allocations: 36.53 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.57, allocations: 361.9 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/1.575, allocations: 2.054 MB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.577, allocations: 353.6 kB / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/1.577, allocations: 97.23 kB / 0.9918 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.577, allocations: 30.75 kB / 0.9918 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 4.158e-06/1.577, allocations: 0 / 0.9918 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.009732/1.587, allocations: 1.778 MB / 0.9935 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/1.587, allocations: 85.05 kB / 0.9936 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/1.588, allocations: 229 kB / 0.9938 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/1.588, allocations: 29.7 kB / 0.9939 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.588, allocations: 188 kB / 0.9941 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.588, allocations: 118.3 kB / 0.9942 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/1.588, allocations: 12 kB / 0.9942 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003357/1.589, allocations: 334.8 kB / 0.9945 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/1.589, allocations: 200.8 kB / 0.9947 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/1.59, allocations: 312.2 kB / 0.995 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/1.591, allocations: 255.3 kB / 0.9952 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.591, allocations: 0 / 0.9952 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002776/1.594, allocations: 0.6798 MB / 0.9959 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/1.595, allocations: 1.138 MB / 0.997 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.595, allocations: 7.953 kB / 0.997 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.596, allocations: 139.3 kB / 0.9971 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/1.597, allocations: 107.8 kB / 0.9972 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/1.603, allocations: 3.981 MB / 1.001 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/1.604, allocations: 44.12 kB / 1.001 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/1.604, allocations: 16 kB / 1.001 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.604, allocations: 4 kB / 1.001 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/1.607, allocations: 0.6315 MB / 1.002 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.607, allocations: 7.938 kB / 1.002 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/1.607, allocations: 143.2 kB / 1.002 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/1.608, allocations: 95.88 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/1.61, allocations: 1.105 MB / 1.003 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/1.61, allocations: 36.16 kB / 1.003 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/1.611, allocations: 20 kB / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0006238/1.611, allocations: 260.8 kB / 1.003 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.611, allocations: 27.62 kB / 1.003 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.614, allocations: 0.6439 MB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.614, allocations: 7.984 kB / 1.004 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.614, allocations: 3.938 kB / 1.004 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.614, allocations: 7.984 kB / 1.004 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/1.618, allocations: 1.23 MB / 1.005 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.618, allocations: 224 / 1.005 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/1.619, allocations: 71.89 kB / 1.005 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/1.619, allocations: 155.2 kB / 1.006 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/1.619, allocations: 8 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005311/1.625, allocations: 3.989 MB / 1.009 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.625, allocations: 7.969 kB / 1.009 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/1.627, allocations: 0.8761 MB / 1.01 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/1.628, allocations: 148.7 kB / 1.01 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/1.628, allocations: 8 kB / 1.01 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/1.628, allocations: 39.95 kB / 1.01 GB, free: 6.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.629, allocations: 35.91 kB / 1.011 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/1.629, allocations: 8 kB / 1.011 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003126/1.629, allocations: 168.5 kB / 1.011 GB, free: 6.273 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/1.629, allocations: 0 / 1.011 GB, free: 6.273 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00146/1.63, allocations: 164 kB / 1.011 GB, free: 6.113 MB / 0.7637 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 (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.003611/1.634, allocations: 2.026 MB / 1.013 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004009/1.638, allocations: 1.22 MB / 1.014 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.638, allocations: 0 / 1.014 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.639, allocations: 0.4907 MB / 1.014 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/1.64, allocations: 48.34 kB / 1.015 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/1.649, allocations: 4.094 MB / 1.019 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/1.65, allocations: 0.8123 MB / 1.019 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007258/1.65, allocations: 114.8 kB / 1.019 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/1.651, allocations: 95.41 kB / 1.02 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 1.393e-06/1.651, allocations: 0 / 1.02 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/1.696, allocations: 8.222 MB / 1.028 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004096/1.696, allocations: 240.2 kB / 1.028 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/5.116, allocations: 0 / 1.028 GB, free: 4.672 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