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.00566/0.00566, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001354/0.001354, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.003943/0.003943, allocations: 0.8861 MB / 291.4 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.88 kB / 402.3 MB, free: 32.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08822, allocations: 49.66 MB / 452 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002415/0.09066, allocations: 1.602 MB / 453.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.09143, allocations: 490.8 kB / 454.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.09151, allocations: 0 / 454.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.09178, allocations: 27.84 kB / 454.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.09193, allocations: 31.8 kB / 454.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.09207, allocations: 47.92 kB / 454.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.09227, allocations: 135.7 kB / 454.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.09239, allocations: 19.98 kB / 454.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.09248, allocations: 59.75 kB / 454.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.09264, allocations: 87.72 kB / 454.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.09269, allocations: 12 kB / 454.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.644e-05/0.09272, allocations: 12 kB / 454.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.09281, allocations: 51.83 kB / 454.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.09288, allocations: 59.66 kB / 454.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.09307, allocations: 142.3 kB / 454.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.09308, allocations: 4 kB / 454.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.09309, allocations: 0 / 454.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.0931, allocations: 3.938 kB / 454.8 MB, free: 11.8 MB / 334.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.0009832/0.09409, allocations: 0.5034 MB / 455.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.09414, allocations: 12.03 kB / 455.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.09418, allocations: 38.73 kB / 455.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.09424, allocations: 20.75 kB / 455.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.09469, allocations: 259.8 kB / 455.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.09471, allocations: 384 / 455.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.09475, allocations: 12.38 kB / 455.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.095, allocations: 133.6 kB / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.09502, allocations: 0 / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.09503, allocations: 0 / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.09505, allocations: 8 kB / 455.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.09533, allocations: 123.9 kB / 455.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.09615, allocations: 484.5 kB / 456.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.09639, allocations: 122.4 kB / 456.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.09654, allocations: 76.81 kB / 456.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.09656, allocations: 0 / 456.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.0966, allocations: 34.56 kB / 456.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.0966, allocations: 0 / 456.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005542/0.09716, allocations: 257.5 kB / 456.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.09721, allocations: 51.41 kB / 456.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.09758, allocations: 227.2 kB / 457.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.09762, allocations: 33.7 kB / 457.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.0977, allocations: 116.2 kB / 457.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.09775, allocations: 39.36 kB / 457.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.09781, allocations: 29.72 kB / 457.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.09795, allocations: 334.8 kB / 457.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.09811, allocations: 71.94 kB / 457.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.09825, allocations: 71.95 kB / 457.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.09854, allocations: 164.5 kB / 457.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09855, allocations: 4 kB / 457.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003583/0.09891, allocations: 217.3 kB / 458.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.09894, allocations: 4 kB / 458.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.09895, allocations: 0 / 458.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.09896, allocations: 0 / 458.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.09915, allocations: 43.91 kB / 458.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.09916, allocations: 0 / 458.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.09933, allocations: 23.97 kB / 458.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.09935, allocations: 0 / 458.2 MB, free: 8.117 MB / 334.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 0.0001019/0.09946, allocations: 142.4 kB / 458.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.0995, allocations: 15.81 kB / 458.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.09958, allocations: 25.39 kB / 458.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09958, allocations: 4 kB / 458.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.09959, allocations: 0 / 458.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.0996, allocations: 0 / 458.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.09987, allocations: 257.4 kB / 458.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.09987, allocations: 0 / 458.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1, allocations: 23.98 kB / 458.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1001, allocations: 3.984 kB / 458.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1001, allocations: 8 kB / 458.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1001, allocations: 0 / 458.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1001, allocations: 4 kB / 458.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1006, allocations: 382.9 kB / 459.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1007, allocations: 89.02 kB / 459.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1007, allocations: 8.031 kB / 459.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1009, allocations: 19.97 kB / 459.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.101, allocations: 11.98 kB / 459.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.101, allocations: 8 kB / 459.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1013, allocations: 179.2 kB / 459.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1013, allocations: 0 / 459.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1016, allocations: 27.84 kB / 459.4 MB, free: 6.832 MB / 334.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.0008178/0.1024, allocations: 0.9079 MB / 460.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.1027, allocations: 155.9 kB / 460.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1027, allocations: 0 / 460.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1029, allocations: 91.81 kB / 460.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1032, allocations: 19.98 kB / 460.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.1061, allocations: 2.239 MB / 462.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1064, allocations: 0.7197 MB / 463.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.1066, allocations: 40.84 kB / 463.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.1066, allocations: 47.42 kB / 463.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1067, allocations: 0 / 463.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.126, allocations: 3.415 MB / 467 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.579, allocations: 11.56 kB / 467 MB, free: 15.11 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)