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.0007807/0.0007807, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008054/0.0008054, allocations: 172.7 kB / 15.95 MB, free: 208 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.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.199 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.003734/0.003734, allocations: 0.8634 MB / 291.9 MB, free: 1.152 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002623, allocations: 11.98 kB / 353.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 50.63 MB / 403.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002465/0.2496, allocations: 1.29 MB / 405.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.2505, allocations: 464.9 kB / 405.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.2506, allocations: 0.6562 kB / 405.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.2509, allocations: 29.62 kB / 405.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2511, allocations: 23.17 kB / 405.6 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2512, allocations: 35.88 kB / 405.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.2515, allocations: 112.2 kB / 405.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2516, allocations: 20.41 kB / 405.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2517, allocations: 53.91 kB / 405.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2519, allocations: 81.28 kB / 405.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.252, allocations: 6.188 kB / 405.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.252, allocations: 4.469 kB / 405.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2521, allocations: 44.69 kB / 405.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.2522, allocations: 43.64 kB / 406 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2524, allocations: 99.83 kB / 406.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2524, allocations: 5.031 kB / 406.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2524, allocations: 4 kB / 406.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2524, allocations: 3.938 kB / 406.1 MB, free: 9.367 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.0008564/0.2533, allocations: 0.5011 MB / 406.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2533, allocations: 8.938 kB / 406.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.2534, allocations: 41.09 kB / 406.6 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.2534, allocations: 19.23 kB / 406.7 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.2538, allocations: 253.3 kB / 406.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2538, allocations: 3.156 kB / 406.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.2539, allocations: 13.25 kB / 406.9 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.2541, allocations: 123.9 kB / 407 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2541, allocations: 0.75 kB / 407 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2542, allocations: 5.125 kB / 407.1 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2542, allocations: 5.422 kB / 407.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.2545, allocations: 137.3 kB / 407.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.2553, allocations: 498.4 kB / 407.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2555, allocations: 132.5 kB / 407.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2557, allocations: 80.02 kB / 407.9 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2557, allocations: 6.109 kB / 407.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2557, allocations: 32.61 kB / 407.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2557, allocations: 0.9375 kB / 407.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005605/0.2563, allocations: 272 kB / 408.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.2563, allocations: 61.5 kB / 408.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2567, allocations: 220.4 kB / 408.5 MB, free: 7.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2567, allocations: 25.7 kB / 408.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.2568, allocations: 115.4 kB / 408.6 MB, free: 7.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.2568, allocations: 41.22 kB / 408.6 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.2568, allocations: 0 / 408.6 MB, free: 7.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.2569, allocations: 329.1 kB / 409 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.2571, allocations: 80.47 kB / 409 MB, free: 7.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2572, allocations: 85.67 kB / 409.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2574, allocations: 92.59 kB / 409.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2574, allocations: 1.875 kB / 409.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003786/0.2578, allocations: 218.8 kB / 409.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2578, allocations: 7.547 kB / 409.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2578, allocations: 9.312 kB / 409.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2578, allocations: 0.7031 kB / 409.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.258, allocations: 37.7 kB / 409.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.258, allocations: 2.141 kB / 409.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.2582, allocations: 35.75 kB / 409.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2582, allocations: 2.656 kB / 409.5 MB, free: 7.152 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.114e-05/0.2583, allocations: 131.3 kB / 409.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.2583, allocations: 11.83 kB / 409.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.2584, allocations: 32.53 kB / 409.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2584, allocations: 1.797 kB / 409.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2584, allocations: 0 / 409.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2584, allocations: 4.547 kB / 409.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2587, allocations: 250.8 kB / 409.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2587, allocations: 0 / 409.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2589, allocations: 33.56 kB / 410 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2589, allocations: 1.312 kB / 410 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2589, allocations: 7.5 kB / 410 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2589, allocations: 4.641 kB / 410 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2589, allocations: 0 / 410 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.2594, allocations: 390.6 kB / 410.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.2595, allocations: 95.27 kB / 410.5 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2595, allocations: 6.234 kB / 410.5 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2597, allocations: 34.23 kB / 410.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.2598, allocations: 12.42 kB / 410.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2598, allocations: 2.328 kB / 410.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.2601, allocations: 175.6 kB / 410.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2601, allocations: 0 / 410.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.2603, allocations: 24.41 kB / 410.7 MB, free: 6.336 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.000674/0.261, allocations: 0.9154 MB / 411.6 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.2614, allocations: 174.1 kB / 411.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2614, allocations: 0 / 411.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2616, allocations: 94.12 kB / 411.9 MB, free: 5.531 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2619, allocations: 27.52 kB / 411.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.2641, allocations: 1.255 MB / 413.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2642, allocations: 0.7253 MB / 413.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2643, allocations: 39.92 kB / 413.9 MB, free: 4.168 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2644, allocations: 40.38 kB / 414 MB, free: 4.141 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2644, allocations: 0 / 414 MB, free: 4.141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.2778, allocations: 3.023 MB / 417 MB, free: 3.859 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001086/0.278, allocations: 166.5 kB / 417.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.943, allocations: 1.594 kB / 417.2 MB, free: 3.617 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: