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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.0045/0.0045, allocations: 0.8866 MB / 291.3 MB, free: 1.398 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 352 MB, free: 1.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07716/0.07842, allocations: 49.66 MB / 401.7 MB, free: 180 kB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.1329/0.2114, allocations: 1.589 MB / 403.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.2121, allocations: 491.5 kB / 403.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.2122, allocations: 5.688 kB / 403.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2124, allocations: 18.88 kB / 403.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2126, allocations: 30.38 kB / 403.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.2127, allocations: 49.27 kB / 403.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.2129, allocations: 132.9 kB / 404 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.213, allocations: 21.98 kB / 404 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.2131, allocations: 62.47 kB / 404.1 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.2132, allocations: 82.33 kB / 404.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.2133, allocations: 12.31 kB / 404.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.2133, allocations: 9.906 kB / 404.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.2134, allocations: 54.55 kB / 404.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.2135, allocations: 64.31 kB / 404.3 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2136, allocations: 143.4 kB / 404.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2136, allocations: 1.125 kB / 404.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2136, allocations: 0 / 404.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2136, allocations: 0 / 404.5 MB, free: 9.074 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.001013/0.2147, allocations: 0.5102 MB / 405 MB, free: 8.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2147, allocations: 8.938 kB / 405 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.2147, allocations: 41.45 kB / 405 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.2148, allocations: 16.22 kB / 405 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.2152, allocations: 267.7 kB / 405.3 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2152, allocations: 2.906 kB / 405.3 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2153, allocations: 10.19 kB / 405.3 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.2155, allocations: 122.3 kB / 405.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2155, allocations: 1.125 kB / 405.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2155, allocations: 0 / 405.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2156, allocations: 6.062 kB / 405.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2159, allocations: 132.4 kB / 405.6 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.2166, allocations: 482.8 kB / 406 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.2168, allocations: 123.8 kB / 406.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.217, allocations: 75.58 kB / 406.2 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.217, allocations: 1.469 kB / 406.2 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.217, allocations: 36.64 kB / 406.3 MB, free: 7.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.217, allocations: 0 / 406.3 MB, free: 7.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005519/0.2176, allocations: 255.7 kB / 406.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2176, allocations: 53.23 kB / 406.6 MB, free: 7.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.218, allocations: 220.7 kB / 406.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.218, allocations: 27.02 kB / 406.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.2181, allocations: 119 kB / 406.9 MB, free: 7.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.2181, allocations: 40.7 kB / 407 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.2182, allocations: 28.83 kB / 407 MB, free: 7.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.2182, allocations: 331 kB / 407.3 MB, free: 7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2184, allocations: 76.89 kB / 407.4 MB, free: 6.977 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2185, allocations: 75.98 kB / 407.5 MB, free: 6.957 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2189, allocations: 163.2 kB / 407.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2189, allocations: 3.938 kB / 407.6 MB, free: 6.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003642/0.2192, allocations: 212.8 kB / 407.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2193, allocations: 4.281 kB / 407.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2193, allocations: 0 / 407.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2193, allocations: 0 / 407.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2195, allocations: 39.12 kB / 407.9 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2195, allocations: 5.625 kB / 407.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2197, allocations: 30.45 kB / 407.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2197, allocations: 2.469 kB / 407.9 MB, free: 6.801 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.446e-05/0.2198, allocations: 133.2 kB / 408 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2198, allocations: 14.7 kB / 408.1 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.2199, allocations: 28.08 kB / 408.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2199, allocations: 1.406 kB / 408.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2199, allocations: 5.625 kB / 408.1 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2199, allocations: 1.547 kB / 408.1 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2201, allocations: 255.5 kB / 408.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2201, allocations: 0.75 kB / 408.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2203, allocations: 29.06 kB / 408.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2203, allocations: 5.094 kB / 408.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2203, allocations: 6.406 kB / 408.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2204, allocations: 1.094 kB / 408.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2204, allocations: 0 / 408.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.2209, allocations: 373.4 kB / 408.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2209, allocations: 103.7 kB / 408.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.221, allocations: 3.094 kB / 408.9 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2212, allocations: 24.72 kB / 408.9 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.2213, allocations: 11.25 kB / 408.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2213, allocations: 1.781 kB / 408.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.2216, allocations: 176 kB / 409.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2216, allocations: 0 / 409.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.2219, allocations: 28.19 kB / 409.1 MB, free: 5.977 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.0006595/0.2225, allocations: 0.9088 MB / 410 MB, free: 5.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.2229, allocations: 171.4 kB / 410.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2229, allocations: 0 / 410.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2231, allocations: 82.53 kB / 410.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2234, allocations: 19.78 kB / 410.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.2263, allocations: 2.233 MB / 412.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2264, allocations: 0.7257 MB / 413.2 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2265, allocations: 34.45 kB / 413.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.2266, allocations: 45.58 kB / 413.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2266, allocations: 5.656 kB / 413.3 MB, free: 2.91 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.709/0.9356, allocations: 3.342 MB / 416.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.97, allocations: 5.156 kB / 416.7 MB, free: 2.402 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)