Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.001124/0.001124, allocations: 99.55 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003414, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.81, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003286/0.8133, allocations: 2.861 MB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.8151, allocations: 1.374 MB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.8152, allocations: 4.938 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.8154, allocations: 38.86 kB / 0.9578 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.8157, allocations: 122.9 kB / 0.9579 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.8161, allocations: 185.2 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.8164, allocations: 226.4 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.8167, allocations: 301.9 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.8169, allocations: 115.7 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.8171, allocations: 128.3 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.8172, allocations: 14.06 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.8174, allocations: 107.6 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.8175, allocations: 85.22 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.8176, allocations: 75.14 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.8179, allocations: 331 kB / 0.9594 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8179, allocations: 0 / 0.9594 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8179, allocations: 4 kB / 0.9594 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8179, allocations: 0 / 0.9594 GB, free: 3.641 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007675/0.8187, allocations: 0.557 MB / 0.9599 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8187, allocations: 8.25 kB / 0.9599 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.8188, allocations: 61.55 kB / 0.96 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007006/0.8195, allocations: 117.5 kB / 0.9601 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.8198, allocations: 272.7 kB / 0.9604 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.8199, allocations: 45.27 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.82, allocations: 25.88 kB / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.8206, allocations: 427.8 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8206, allocations: 1.031 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.8207, allocations: 11.12 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.8207, allocations: 32.95 kB / 0.9609 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.8214, allocations: 336.9 kB / 0.9612 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.8233, allocations: 2.096 MB / 0.9633 GB, free: 252 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.8238, allocations: 213.7 kB / 0.9635 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.8239, allocations: 2.312 kB / 0.9635 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.8239, allocations: 31.97 kB / 0.9635 GB, free: 92 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.8239, allocations: 0 / 0.9635 GB, free: 92 kB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006829/0.8246, allocations: 287.7 kB / 0.9638 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.8247, allocations: 54.03 kB / 0.9638 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.8249, allocations: 234 kB / 0.964 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.8249, allocations: 30.77 kB / 0.9641 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8251, allocations: 195.3 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.8251, allocations: 55.42 kB / 0.9643 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.8252, allocations: 5.031 kB / 0.9643 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8253, allocations: 340.1 kB / 0.9646 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.8255, allocations: 85.23 kB / 0.9647 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.8258, allocations: 185 kB / 0.9649 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.826, allocations: 105.5 kB / 0.965 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.826, allocations: 1.156 kB / 0.965 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004995/0.8265, allocations: 308.3 kB / 0.9653 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004508/0.827, allocations: 1.225 MB / 0.9665 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.827, allocations: 8.203 kB / 0.9665 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.827, allocations: 4.219 kB / 0.9665 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.8274, allocations: 73.73 kB / 0.9666 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009899/0.8284, allocations: 1.307 MB / 0.9679 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.8286, allocations: 38.23 kB / 0.9679 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.8287, allocations: 14.84 kB / 0.9679 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.8287, allocations: 9 kB / 0.9679 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005293/0.8292, allocations: 249.6 kB / 0.9682 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8293, allocations: 3.469 kB / 0.9682 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.8293, allocations: 5.719 kB / 0.9682 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.8297, allocations: 68.86 kB / 0.9682 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.8306, allocations: 1.311 MB / 0.9695 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8308, allocations: 29.3 kB / 0.9695 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.8308, allocations: 18.05 kB / 0.9696 GB, free: 10.39 MB / 0.7325 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.831, allocations: 234.7 kB / 0.9698 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.8311, allocations: 25.38 kB / 0.9698 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.8311, allocations: 27.92 kB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.8311, allocations: 1.562 kB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8311, allocations: 3.984 kB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.8311, allocations: 0.75 kB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.8321, allocations: 0.6454 MB / 0.9705 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8321, allocations: 1.219 kB / 0.9705 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.8325, allocations: 56.33 kB / 0.9705 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8325, allocations: 2.5 kB / 0.9705 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.8325, allocations: 10.23 kB / 0.9705 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8325, allocations: 6 kB / 0.9705 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8326, allocations: 2 kB / 0.9705 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.8331, allocations: 388.9 kB / 0.9709 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.8332, allocations: 112.3 kB / 0.971 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.8332, allocations: 6.812 kB / 0.971 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8334, allocations: 15.89 kB / 0.971 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.8334, allocations: 17.69 kB / 0.9711 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.8335, allocations: 5.094 kB / 0.9711 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001421/0.8336, allocations: 161.5 kB / 0.9712 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8336, allocations: 0 / 0.9712 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005635/0.8342, allocations: 121.4 kB / 0.9713 GB, free: 8.961 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.000879/0.8351, allocations: 1.19 MB / 0.9725 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.8361, allocations: 352.3 kB / 0.9728 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8361, allocations: 4.812 kB / 0.9728 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.8365, allocations: 109 kB / 0.9729 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.8369, allocations: 42.05 kB / 0.973 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.8401, allocations: 3.401 MB / 0.9763 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.8404, allocations: 0.781 MB / 0.9771 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.8407, allocations: 63.7 kB / 0.9771 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8408, allocations: 71.66 kB / 0.9772 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8408, allocations: 0 / 0.9772 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.8578, allocations: 4.345 MB / 0.9814 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.858, allocations: 218.9 kB / 0.9816 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.637, allocations: 3.938 kB / 0.9816 GB, free: 1.516 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat does not exist to compare? outputFormat=mat