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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 218.2 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 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 main/package.mo): time 0.005349/0.005349, allocations: 0.896 MB / 314.1 MB, free: 2.207 MB / 238.1 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BidiDCDC requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 436.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 53.59 MB / 490 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002914/0.1095, allocations: 1.639 MB / 491.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1105, allocations: 0.5221 MB / 492.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.1106, allocations: 4 kB / 492.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1108, allocations: 27.8 kB / 492.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.111, allocations: 35.83 kB / 492.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.1111, allocations: 43.92 kB / 492.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1114, allocations: 159.6 kB / 492.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1115, allocations: 27.92 kB / 492.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1116, allocations: 55.83 kB / 492.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1118, allocations: 91.64 kB / 492.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1118, allocations: 12 kB / 492.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.1118, allocations: 16 kB / 492.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.1119, allocations: 51.88 kB / 492.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.112, allocations: 63.59 kB / 492.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1122, allocations: 147.4 kB / 492.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1122, allocations: 0 / 492.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1122, allocations: 0 / 492.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1122, allocations: 0 / 492.9 MB, free: 8.117 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.001079/0.1132, allocations: 441.5 kB / 493.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1133, allocations: 8.031 kB / 493.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.1133, allocations: 8.188 kB / 493.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1133, allocations: 34.75 kB / 493.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1134, allocations: 24.8 kB / 493.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.1139, allocations: 190.2 kB / 493.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1139, allocations: 8.375 kB / 493.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1139, allocations: 12.38 kB / 493.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1142, allocations: 124.4 kB / 493.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1142, allocations: 7.922 kB / 493.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1143, allocations: 7.938 kB / 493.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1143, allocations: 4 kB / 493.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1146, allocations: 123.8 kB / 493.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.1155, allocations: 459.6 kB / 494.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1157, allocations: 122.5 kB / 494.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1159, allocations: 76.75 kB / 494.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1159, allocations: 0 / 494.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1159, allocations: 34.56 kB / 494.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.1159, allocations: 4 kB / 494.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000596/0.1165, allocations: 249.6 kB / 494.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1166, allocations: 55.39 kB / 494.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.117, allocations: 223.2 kB / 495.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.117, allocations: 29.7 kB / 495.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1171, allocations: 112.1 kB / 495.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.1171, allocations: 43.78 kB / 495.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.1172, allocations: 25.72 kB / 495.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1174, allocations: 334.8 kB / 495.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1175, allocations: 79.88 kB / 495.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1177, allocations: 82.31 kB / 495.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.118, allocations: 156.8 kB / 495.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.118, allocations: 0 / 495.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004038/0.1184, allocations: 209.5 kB / 496.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1185, allocations: 4 kB / 496.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1185, allocations: 0 / 496.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1185, allocations: 0 / 496.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.1187, allocations: 39.91 kB / 496.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1187, allocations: 0 / 496.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1189, allocations: 39.86 kB / 496.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1189, allocations: 3.938 kB / 496.2 MB, free: 4.617 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 0.0001153/0.119, allocations: 129.8 kB / 496.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.119, allocations: 15.91 kB / 496.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.1191, allocations: 29.39 kB / 496.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1191, allocations: 0 / 496.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1191, allocations: 0 / 496.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1191, allocations: 4 kB / 496.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1194, allocations: 228.5 kB / 496.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1194, allocations: 0 / 496.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1196, allocations: 31.91 kB / 496.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1196, allocations: 0 / 496.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1196, allocations: 8 kB / 496.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1196, allocations: 0 / 496.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1196, allocations: 3.938 kB / 496.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1203, allocations: 382.8 kB / 497 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1203, allocations: 15.91 kB / 497 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.1204, allocations: 4.031 kB / 497 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1206, allocations: 35.91 kB / 497.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.1207, allocations: 3.984 kB / 497.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1207, allocations: 4 kB / 497.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.121, allocations: 176.3 kB / 497.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.121, allocations: 0 / 497.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1213, allocations: 31.88 kB / 497.3 MB, free: 3.469 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.001003/0.1223, allocations: 0.9003 MB / 498.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.1227, allocations: 159.8 kB / 498.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1227, allocations: 4 kB / 498.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1229, allocations: 79.89 kB / 498.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1232, allocations: 23.92 kB / 498.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.1268, allocations: 2.244 MB / 0.4889 GB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1272, allocations: 0.7274 MB / 0.4896 GB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1273, allocations: 36.94 kB / 0.4897 GB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1274, allocations: 47.42 kB / 0.4897 GB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1274, allocations: 0 / 0.4897 GB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1524, allocations: 3.668 MB / 0.4933 GB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.63, allocations: 6.641 kB / 0.4933 GB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.45335545798298] Failed to read output from testmodel.py, exit status != 0: 11.790331059019081 11.987342624 11.871437688 Calling exit ...