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.001032/0.001032, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001023/0.001023, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.003931/0.003931, allocations: 0.8803 MB / 290.9 MB, free: 1.531 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 351.5 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09313, allocations: 49.66 MB / 401.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.1641/0.2573, allocations: 1.649 MB / 402.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.258, allocations: 489.4 kB / 403.3 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.2581, allocations: 5.406 kB / 403.3 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2584, allocations: 19.88 kB / 403.3 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.2586, allocations: 27.94 kB / 403.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2587, allocations: 44.2 kB / 403.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2589, allocations: 129.3 kB / 403.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2591, allocations: 27.62 kB / 403.6 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.2592, allocations: 54.42 kB / 403.6 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2594, allocations: 91.75 kB / 403.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.2594, allocations: 11.41 kB / 403.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.2594, allocations: 15.12 kB / 403.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.2595, allocations: 48.19 kB / 403.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.2596, allocations: 63.61 kB / 403.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2598, allocations: 135.3 kB / 404 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2598, allocations: 1.219 kB / 404 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2598, allocations: 0 / 404 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2598, allocations: 1.062 kB / 404 MB, free: 9.297 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.0009978/0.2608, allocations: 0.5153 MB / 404.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2609, allocations: 11.55 kB / 404.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2609, allocations: 37.48 kB / 404.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.2609, allocations: 16.56 kB / 404.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2613, allocations: 272.7 kB / 404.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2614, allocations: 7.906 kB / 404.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.2614, allocations: 4.844 kB / 404.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2616, allocations: 128.8 kB / 405 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2617, allocations: 1.312 kB / 405 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2617, allocations: 5.094 kB / 405 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2617, allocations: 2.984 kB / 405 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.262, allocations: 123.7 kB / 405.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.2627, allocations: 491.3 kB / 405.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.263, allocations: 120.8 kB / 405.7 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2631, allocations: 77.53 kB / 405.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2631, allocations: 2.188 kB / 405.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2632, allocations: 35.75 kB / 405.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2632, allocations: 4 kB / 405.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005275/0.2637, allocations: 250.7 kB / 406 MB, free: 7.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.2637, allocations: 53.25 kB / 406.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2641, allocations: 220.9 kB / 406.3 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2641, allocations: 35.7 kB / 406.4 MB, free: 7.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.2642, allocations: 118.4 kB / 406.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.2642, allocations: 36.2 kB / 406.5 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.2643, allocations: 29.39 kB / 406.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.2644, allocations: 332.4 kB / 406.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2645, allocations: 70.88 kB / 406.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2647, allocations: 76.06 kB / 407 MB, free: 7.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.265, allocations: 169.8 kB / 407.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.265, allocations: 0 / 407.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003675/0.2654, allocations: 216.3 kB / 407.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2654, allocations: 4.156 kB / 407.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2654, allocations: 1.312 kB / 407.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2654, allocations: 0.6562 kB / 407.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2656, allocations: 33.81 kB / 407.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2656, allocations: 0.6562 kB / 407.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2658, allocations: 25.8 kB / 407.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2658, allocations: 3.766 kB / 407.4 MB, free: 7.016 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 7.713e-05/0.2659, allocations: 138.7 kB / 407.6 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.2659, allocations: 18.84 kB / 407.6 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.266, allocations: 23.45 kB / 407.6 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.266, allocations: 4 kB / 407.6 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.266, allocations: 0 / 407.6 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2661, allocations: 4.656 kB / 407.6 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2663, allocations: 257.2 kB / 407.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2663, allocations: 0 / 407.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.2665, allocations: 31.02 kB / 407.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2665, allocations: 0.9375 kB / 407.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2665, allocations: 1.938 kB / 407.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2666, allocations: 0.6562 kB / 407.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2666, allocations: 1.969 kB / 407.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2671, allocations: 378.7 kB / 408.3 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2672, allocations: 96.72 kB / 408.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.2672, allocations: 5.969 kB / 408.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2674, allocations: 25.81 kB / 408.4 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2675, allocations: 6.828 kB / 408.4 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2675, allocations: 2.516 kB / 408.4 MB, free: 6.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.2678, allocations: 175.4 kB / 408.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2678, allocations: 0 / 408.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.2681, allocations: 28.16 kB / 408.6 MB, free: 6.191 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.0007087/0.2688, allocations: 0.9078 MB / 409.5 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.2692, allocations: 171.2 kB / 409.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2692, allocations: 7.938 kB / 409.7 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.2694, allocations: 84.33 kB / 409.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2697, allocations: 20.58 kB / 409.8 MB, free: 5.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.2728, allocations: 2.269 MB / 412.1 MB, free: 3.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.273, allocations: 0.7261 MB / 412.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2731, allocations: 34.81 kB / 412.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.2732, allocations: 46.06 kB / 412.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2732, allocations: 0 / 412.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2917, allocations: 3.189 MB / 416.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/0.2918, allocations: 181.9 kB / 416.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.198, allocations: 0 / 416.2 MB, free: 2.469 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)