Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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/BidiDCDC 1.0.0-main/package.mo", uses=false) Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/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(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",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.0009997/0.001, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001063/0.001063, allocations: 194.1 kB / 16.14 MB, free: 6.707 MB / 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: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo): time 0.00454/0.00454, allocations: 0.8789 MB / 290.8 MB, free: 1.629 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 59.91 kB / 351.3 MB, free: 2.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1341, allocations: 49.67 MB / 401 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.204/0.3382, allocations: 1.647 MB / 402.7 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.3391, allocations: 493.3 kB / 403.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.3392, allocations: 1.062 kB / 403.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.3396, allocations: 17.27 kB / 403.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3397, allocations: 28.44 kB / 403.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.3398, allocations: 43.58 kB / 403.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.34, allocations: 128.7 kB / 403.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3402, allocations: 18.56 kB / 403.4 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.3403, allocations: 52.14 kB / 403.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3404, allocations: 83.67 kB / 403.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.3405, allocations: 6.594 kB / 403.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.3405, allocations: 6.594 kB / 403.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.3406, allocations: 51.86 kB / 403.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.3407, allocations: 53.98 kB / 403.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3409, allocations: 138.6 kB / 403.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3409, allocations: 1.062 kB / 403.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3409, allocations: 0 / 403.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3409, allocations: 0 / 403.8 MB, free: 9.406 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001085/0.342, allocations: 0.5179 MB / 404.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.342, allocations: 10.22 kB / 404.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3421, allocations: 38.28 kB / 404.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3421, allocations: 16.8 kB / 404.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.3426, allocations: 262.3 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3426, allocations: 7.047 kB / 404.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3427, allocations: 13.94 kB / 404.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3429, allocations: 122.3 kB / 404.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3429, allocations: 1.094 kB / 404.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3429, allocations: 4 kB / 404.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.343, allocations: 2.922 kB / 404.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3433, allocations: 120.7 kB / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.3441, allocations: 494.7 kB / 405.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3443, allocations: 124.7 kB / 405.5 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3445, allocations: 81 kB / 405.5 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3445, allocations: 1.312 kB / 405.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3445, allocations: 33.06 kB / 405.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3445, allocations: 224 / 405.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005655/0.3451, allocations: 258.1 kB / 405.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3451, allocations: 54.45 kB / 405.9 MB, free: 7.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.3455, allocations: 219.3 kB / 406.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3455, allocations: 27.2 kB / 406.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3456, allocations: 114.3 kB / 406.2 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3456, allocations: 41.19 kB / 406.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.3457, allocations: 29.73 kB / 406.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.3458, allocations: 333.4 kB / 406.6 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3459, allocations: 74.03 kB / 406.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3461, allocations: 71.31 kB / 406.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3464, allocations: 165.7 kB / 406.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3464, allocations: 4 kB / 406.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003902/0.3468, allocations: 212.8 kB / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3468, allocations: 5.547 kB / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3468, allocations: 0 / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3469, allocations: 1.406 kB / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.347, allocations: 29.03 kB / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3471, allocations: 1.375 kB / 407.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3472, allocations: 33.86 kB / 407.2 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3473, allocations: 2.75 kB / 407.2 MB, free: 7.125 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 9.147e-05/0.3474, allocations: 136.5 kB / 407.4 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.3474, allocations: 15.28 kB / 407.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.3475, allocations: 25.62 kB / 407.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3475, allocations: 1.344 kB / 407.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3475, allocations: 1.734 kB / 407.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3475, allocations: 0.75 kB / 407.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3477, allocations: 268.6 kB / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3478, allocations: 0 / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.3479, allocations: 27.2 kB / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3479, allocations: 0 / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.348, allocations: 4.922 kB / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.348, allocations: 0 / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.348, allocations: 0.7031 kB / 407.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.3486, allocations: 378.4 kB / 408.1 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3487, allocations: 93.94 kB / 408.2 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3487, allocations: 6.547 kB / 408.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3489, allocations: 21.14 kB / 408.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.349, allocations: 11.3 kB / 408.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.349, allocations: 5.719 kB / 408.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.3493, allocations: 181 kB / 408.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3493, allocations: 0 / 408.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3496, allocations: 32.22 kB / 408.4 MB, free: 6.297 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * 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.0008961/0.3505, allocations: 0.9044 MB / 409.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.351, allocations: 156.1 kB / 409.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.351, allocations: 0 / 409.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3512, allocations: 83 kB / 409.5 MB, free: 5.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3515, allocations: 27.28 kB / 409.6 MB, free: 5.484 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.3556, allocations: 2.263 MB / 411.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3559, allocations: 0.7256 MB / 412.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.356, allocations: 34.48 kB / 412.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.3561, allocations: 46.38 kB / 412.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3561, allocations: 0 / 412.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.3719, allocations: 3.1 MB / 415.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.372, allocations: 180.4 kB / 415.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.336, allocations: 0 / 415.9 MB, free: 2.598 MB / 286.1 MB (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BidiDCDC_BidiDCDC_Examples_TransferFunction_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)