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.001089/0.001089, 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.0009768/0.0009768, 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 1.264/1.264, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.003405/0.003405, allocations: 0.8633 MB / 291.8 MB, free: 1.32 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 8 kB / 353.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2648, allocations: 50.64 MB / 403.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002004/0.2669, allocations: 1.291 MB / 405 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.2677, allocations: 465.5 kB / 405.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.2678, allocations: 0.5 kB / 405.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2681, allocations: 20.61 kB / 405.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2682, allocations: 32.27 kB / 405.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2684, allocations: 35.02 kB / 405.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2685, allocations: 75.84 kB / 405.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2686, allocations: 18.58 kB / 405.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2688, allocations: 61.22 kB / 405.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2689, allocations: 77.08 kB / 405.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.2689, allocations: 5.969 kB / 405.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.032e-05/0.269, allocations: 5.344 kB / 405.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.269, allocations: 44.38 kB / 405.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.2691, allocations: 44.98 kB / 405.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2692, allocations: 97.12 kB / 406 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2692, allocations: 0 / 406 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2692, allocations: 0 / 406 MB, free: 9.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2692, allocations: 0 / 406 MB, free: 9.375 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.000903/0.2702, allocations: 0.5018 MB / 406.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2702, allocations: 18.81 kB / 406.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.2702, allocations: 37.41 kB / 406.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.2703, allocations: 19.05 kB / 406.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.2707, allocations: 256.4 kB / 406.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2707, allocations: 7.031 kB / 406.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2707, allocations: 5.922 kB / 406.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.271, allocations: 126.8 kB / 406.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.271, allocations: 1.469 kB / 406.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.271, allocations: 8.5 kB / 406.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.271, allocations: 5.828 kB / 406.9 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.2713, allocations: 138.2 kB / 407.1 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.2721, allocations: 491.4 kB / 407.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2724, allocations: 133.6 kB / 407.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2724, allocations: 1.094 kB / 407.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2724, allocations: 40.58 kB / 407.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.2724, allocations: 0 / 407.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005632/0.273, allocations: 267.7 kB / 408 MB, free: 8.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.273, allocations: 53.53 kB / 408 MB, free: 7.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.2734, allocations: 220.3 kB / 408.2 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2734, allocations: 26.36 kB / 408.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.2734, allocations: 115.7 kB / 408.4 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.2735, allocations: 45.5 kB / 408.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.2735, allocations: 8.906 kB / 408.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2736, allocations: 323.8 kB / 408.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.2737, allocations: 79.91 kB / 408.8 MB, free: 7.336 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2739, allocations: 84.98 kB / 408.9 MB, free: 7.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2741, allocations: 83.12 kB / 409 MB, free: 7.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2741, allocations: 3.938 kB / 409 MB, free: 7.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003549/0.2744, allocations: 228.1 kB / 409.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2745, allocations: 9.516 kB / 409.2 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2745, allocations: 0 / 409.2 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2745, allocations: 0 / 409.2 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2747, allocations: 35.84 kB / 409.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2747, allocations: 3.969 kB / 409.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2749, allocations: 39.95 kB / 409.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2749, allocations: 1.781 kB / 409.3 MB, free: 7.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/0.275, allocations: 129.4 kB / 409.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.275, allocations: 10.69 kB / 409.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.2751, allocations: 33.02 kB / 409.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2751, allocations: 1.312 kB / 409.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2751, allocations: 0.6562 kB / 409.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2751, allocations: 1.375 kB / 409.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2753, allocations: 254.5 kB / 409.7 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2753, allocations: 0.5156 kB / 409.7 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2755, allocations: 31.83 kB / 409.8 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2755, allocations: 1.547 kB / 409.8 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2756, allocations: 7.75 kB / 409.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2756, allocations: 3.953 kB / 409.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2756, allocations: 2.156 kB / 409.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2761, allocations: 388.5 kB / 410.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.2762, allocations: 104.7 kB / 410.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.2762, allocations: 3.297 kB / 410.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2764, allocations: 24.81 kB / 410.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.2765, allocations: 15.12 kB / 410.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2765, allocations: 4.531 kB / 410.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.2768, allocations: 178.8 kB / 410.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2768, allocations: 0 / 410.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.277, allocations: 24.97 kB / 410.5 MB, free: 6.359 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 (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.0006394/0.2777, allocations: 0.9143 MB / 411.4 MB, free: 5.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.278, allocations: 175.1 kB / 411.6 MB, free: 5.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.278, allocations: 0 / 411.6 MB, free: 5.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2782, allocations: 91.25 kB / 411.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.2784, allocations: 18.41 kB / 411.7 MB, free: 5.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.2806, allocations: 1.249 MB / 412.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2808, allocations: 0.7337 MB / 413.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.972e-05/0.2809, allocations: 35.31 kB / 413.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.281, allocations: 42.56 kB / 413.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.281, allocations: 0 / 413.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.2944, allocations: 2.99 MB / 416.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.2946, allocations: 169.7 kB / 416.9 MB, free: 3.656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.897, allocations: 1.688 kB / 416.9 MB, free: 3.656 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/linux/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) Environment - environmentSimulation: