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.007336/0.007336, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001827/0.001827, allocations: 196.6 kB / 16.68 MB, free: 5.934 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.004305/0.004305, allocations: 0.8862 MB / 291.4 MB, free: 1.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.91 kB / 402.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2719, allocations: 49.66 MB / 452 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002101/0.274, allocations: 1.608 MB / 453.6 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.2747, allocations: 495.5 kB / 454.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.2748, allocations: 0 / 454.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.275, allocations: 23.94 kB / 454.1 MB, free: 20.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2751, allocations: 31.45 kB / 454.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.2753, allocations: 46.19 kB / 454.2 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2754, allocations: 132 kB / 454.3 MB, free: 20.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.2755, allocations: 27.77 kB / 454.3 MB, free: 20.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.2756, allocations: 55.11 kB / 454.4 MB, free: 20.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2757, allocations: 83.09 kB / 454.5 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2758, allocations: 12.16 kB / 454.5 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.2758, allocations: 9.5 kB / 454.5 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.2759, allocations: 55.48 kB / 454.6 MB, free: 20.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2759, allocations: 58.77 kB / 454.6 MB, free: 20.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2761, allocations: 152.5 kB / 454.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2761, allocations: 4 kB / 454.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2761, allocations: 0 / 454.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2761, allocations: 2.781 kB / 454.8 MB, free: 20.35 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.0008695/0.277, allocations: 0.5105 MB / 455.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.277, allocations: 8.906 kB / 455.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2771, allocations: 40.97 kB / 455.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.2771, allocations: 15.16 kB / 455.3 MB, free: 19.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.2775, allocations: 256.9 kB / 455.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2775, allocations: 11.47 kB / 455.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.2775, allocations: 9.125 kB / 455.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2778, allocations: 126.6 kB / 455.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2778, allocations: 3.953 kB / 455.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2778, allocations: 0 / 455.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2778, allocations: 3.094 kB / 455.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.2781, allocations: 123.7 kB / 455.9 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.2788, allocations: 491.5 kB / 456.3 MB, free: 19.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.279, allocations: 118.2 kB / 456.5 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.2792, allocations: 80.16 kB / 456.5 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.2792, allocations: 3.688 kB / 456.5 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2792, allocations: 39.34 kB / 456.6 MB, free: 19.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2792, allocations: 0 / 456.6 MB, free: 19.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005306/0.2798, allocations: 249.9 kB / 456.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.2798, allocations: 62.97 kB / 456.9 MB, free: 18.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.2801, allocations: 222 kB / 457.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2801, allocations: 29.7 kB / 457.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2802, allocations: 113.5 kB / 457.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2802, allocations: 45.77 kB / 457.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.2803, allocations: 27.38 kB / 457.3 MB, free: 18.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.2804, allocations: 336.7 kB / 457.6 MB, free: 18.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2805, allocations: 69.78 kB / 457.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2806, allocations: 75.56 kB / 457.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2809, allocations: 162 kB / 457.9 MB, free: 18.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2809, allocations: 0 / 457.9 MB, free: 18.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003241/0.2812, allocations: 218.8 kB / 458.2 MB, free: 18.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2812, allocations: 13.56 kB / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2812, allocations: 0 / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2813, allocations: 0 / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2814, allocations: 29.27 kB / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2815, allocations: 3.422 kB / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.2816, allocations: 23.81 kB / 458.2 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2816, allocations: 7.125 kB / 458.2 MB, free: 18.07 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.301e-05/0.2817, allocations: 140.7 kB / 458.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.2818, allocations: 18.36 kB / 458.4 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.2818, allocations: 27.11 kB / 458.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2818, allocations: 0 / 458.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2818, allocations: 4 kB / 458.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2818, allocations: 0 / 458.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2821, allocations: 262.2 kB / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2821, allocations: 3.344 kB / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2822, allocations: 30.19 kB / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2822, allocations: 0 / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2823, allocations: 3.281 kB / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2823, allocations: 0 / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2823, allocations: 0 / 458.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.2827, allocations: 380.5 kB / 459.1 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.2828, allocations: 95.39 kB / 459.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2828, allocations: 7.375 kB / 459.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.283, allocations: 18.58 kB / 459.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2831, allocations: 13.61 kB / 459.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2831, allocations: 0 / 459.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.2834, allocations: 182 kB / 459.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2834, allocations: 4 kB / 459.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.2836, allocations: 30.77 kB / 459.4 MB, free: 17.22 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.0006144/0.2842, allocations: 0.9036 MB / 460.3 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.2846, allocations: 156.4 kB / 460.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2846, allocations: 0 / 460.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2847, allocations: 82.02 kB / 460.6 MB, free: 16.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.285, allocations: 20.45 kB / 460.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.2875, allocations: 2.243 MB / 462.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2877, allocations: 0.7283 MB / 463.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.2878, allocations: 36.22 kB / 463.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.2878, allocations: 40.98 kB / 463.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2879, allocations: 0 / 463.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3147, allocations: 3.407 MB / 467 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.097, allocations: 8.688 kB / 467 MB, free: 13.62 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 & /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)