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.004576/0.004576, allocations: 96.59 kB / 15.73 MB, free: 6.059 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.001048/0.001048, allocations: 189.4 kB / 16.67 MB, free: 5.98 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.003758/0.003758, allocations: 0.8707 MB / 291.4 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 402.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2452, allocations: 49.66 MB / 452 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002174/0.2474, allocations: 1.604 MB / 453.6 MB, free: 21.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.2481, allocations: 485.6 kB / 454.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.2481, allocations: 3.156 kB / 454.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.2484, allocations: 30.66 kB / 454.1 MB, free: 20.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2485, allocations: 27.81 kB / 454.1 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.2487, allocations: 46.31 kB / 454.2 MB, free: 20.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2488, allocations: 137.9 kB / 454.3 MB, free: 20.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.249, allocations: 20.03 kB / 454.3 MB, free: 20.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.249, allocations: 61.81 kB / 454.4 MB, free: 20.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.2492, allocations: 83.45 kB / 454.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.2492, allocations: 13.34 kB / 454.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.2492, allocations: 9.25 kB / 454.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.2493, allocations: 52.03 kB / 454.6 MB, free: 20.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.2494, allocations: 62.53 kB / 454.6 MB, free: 20.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2495, allocations: 141.7 kB / 454.8 MB, free: 20.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2495, allocations: 3.516 kB / 454.8 MB, free: 20.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2495, allocations: 0 / 454.8 MB, free: 20.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2496, allocations: 4 kB / 454.8 MB, free: 20.39 MB / 350.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.000921/0.2505, allocations: 0.5092 MB / 455.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2505, allocations: 9.531 kB / 455.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.2506, allocations: 41.28 kB / 455.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.2506, allocations: 15.25 kB / 455.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.251, allocations: 267 kB / 455.6 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.251, allocations: 7.375 kB / 455.6 MB, free: 19.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2511, allocations: 9.734 kB / 455.6 MB, free: 19.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2513, allocations: 125.2 kB / 455.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2513, allocations: 7.391 kB / 455.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2513, allocations: 0 / 455.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2513, allocations: 0 / 455.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.2516, allocations: 125.2 kB / 455.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.2523, allocations: 496.3 kB / 456.4 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.2525, allocations: 113 kB / 456.5 MB, free: 19.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2526, allocations: 75 kB / 456.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2526, allocations: 14.95 kB / 456.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.2527, allocations: 34.56 kB / 456.6 MB, free: 19.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.2527, allocations: 0 / 456.6 MB, free: 19.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000475/0.2531, allocations: 255 kB / 456.8 MB, free: 19.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2532, allocations: 54.16 kB / 456.9 MB, free: 18.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2535, allocations: 225.4 kB / 457.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2535, allocations: 25.7 kB / 457.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2536, allocations: 111.7 kB / 457.2 MB, free: 18.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2536, allocations: 41.84 kB / 457.3 MB, free: 18.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.2537, allocations: 32.73 kB / 457.3 MB, free: 18.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.2537, allocations: 331.8 kB / 457.6 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2539, allocations: 77.95 kB / 457.7 MB, free: 18.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.254, allocations: 77.5 kB / 457.8 MB, free: 18.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2543, allocations: 160.2 kB / 457.9 MB, free: 18.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2543, allocations: 0 / 457.9 MB, free: 18.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003135/0.2546, allocations: 214 kB / 458.2 MB, free: 18.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2546, allocations: 13.78 kB / 458.2 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2546, allocations: 3.938 kB / 458.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2546, allocations: 3.125 kB / 458.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2548, allocations: 27.97 kB / 458.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2548, allocations: 0 / 458.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.255, allocations: 33.73 kB / 458.2 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.255, allocations: 0 / 458.2 MB, free: 18.1 MB / 350.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 7.388e-05/0.2551, allocations: 142 kB / 458.4 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.2551, allocations: 13.78 kB / 458.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.2552, allocations: 26.58 kB / 458.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2552, allocations: 0 / 458.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2552, allocations: 0 / 458.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2552, allocations: 0 / 458.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.2554, allocations: 263.2 kB / 458.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2554, allocations: 4 kB / 458.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.2556, allocations: 22.02 kB / 458.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2556, allocations: 3.219 kB / 458.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2556, allocations: 7 kB / 458.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2556, allocations: 0 / 458.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2556, allocations: 7 kB / 458.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.2561, allocations: 375.4 kB / 459.1 MB, free: 17.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2561, allocations: 95.08 kB / 459.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2562, allocations: 6.969 kB / 459.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2564, allocations: 22.08 kB / 459.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2564, allocations: 10.39 kB / 459.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2564, allocations: 2.906 kB / 459.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.2567, allocations: 177.5 kB / 459.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2567, allocations: 0 / 459.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.2569, allocations: 34.42 kB / 459.4 MB, free: 17.26 MB / 350.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.0005967/0.2575, allocations: 0.9031 MB / 460.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.2579, allocations: 168.4 kB / 460.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2579, allocations: 0 / 460.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.258, allocations: 74.14 kB / 460.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2583, allocations: 20.06 kB / 460.6 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2608, allocations: 2.242 MB / 462.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.261, allocations: 0.7308 MB / 463.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.2611, allocations: 32.44 kB / 463.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.2611, allocations: 40.31 kB / 463.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2612, allocations: 0 / 463.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.282, allocations: 3.408 MB / 467 MB, free: 13.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.173, allocations: 13.67 kB / 467 MB, free: 13.65 MB / 350.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 & python3 -m fmpy simulate --output-file BidiDCDC_BidiDCDC.Examples.TransferFunction_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)