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.001293/0.001293, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.0016/0.0016, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.988 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.004592/0.004592, allocations: 0.8871 MB / 313.3 MB, free: 2.203 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",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.001999/0.001999, allocations: 59.91 kB / 435.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 53.61 MB / 489.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.003499/0.1144, allocations: 1.634 MB / 490.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1156, allocations: 0.5182 MB / 491.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1157, allocations: 0 / 491.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1161, allocations: 23.84 kB / 491.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.1162, allocations: 35.78 kB / 491.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1164, allocations: 47.92 kB / 491.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1167, allocations: 159.6 kB / 491.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1169, allocations: 27.92 kB / 491.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.117, allocations: 59.81 kB / 491.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1172, allocations: 91.7 kB / 491.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.1172, allocations: 12 kB / 491.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.1173, allocations: 12 kB / 491.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.1174, allocations: 51.88 kB / 491.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.1175, allocations: 67.53 kB / 492 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1177, allocations: 143.4 kB / 492.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1177, allocations: 0 / 492.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1177, allocations: 0 / 492.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1177, allocations: 0 / 492.1 MB, free: 8.121 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.001175/0.1189, allocations: 441.5 kB / 492.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1189, allocations: 12.03 kB / 492.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.119, allocations: 42.73 kB / 492.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.119, allocations: 20.8 kB / 492.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.1195, allocations: 202.1 kB / 492.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1196, allocations: 4.375 kB / 492.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1196, allocations: 8.375 kB / 492.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1199, allocations: 125.7 kB / 492.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1199, allocations: 7.938 kB / 492.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1199, allocations: 0 / 492.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1199, allocations: 4 kB / 492.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.1202, allocations: 123.9 kB / 493.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.1211, allocations: 455.5 kB / 493.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1214, allocations: 122.5 kB / 493.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1215, allocations: 76.8 kB / 493.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1216, allocations: 8 kB / 493.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.1216, allocations: 34.5 kB / 493.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.1216, allocations: 0 / 493.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006027/0.1222, allocations: 257.5 kB / 494 MB, free: 6.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1223, allocations: 55.41 kB / 494 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.1227, allocations: 227.2 kB / 494.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1227, allocations: 29.7 kB / 494.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.1228, allocations: 112.1 kB / 494.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.1228, allocations: 39.78 kB / 494.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.1229, allocations: 29.7 kB / 494.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1231, allocations: 334.8 kB / 494.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1232, allocations: 71.94 kB / 494.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1234, allocations: 82.19 kB / 495 MB, free: 5.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1237, allocations: 164.7 kB / 495.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1237, allocations: 0 / 495.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003987/0.1241, allocations: 205.5 kB / 495.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1241, allocations: 4 kB / 495.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1241, allocations: 8 kB / 495.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1241, allocations: 0 / 495.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1243, allocations: 31.97 kB / 495.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1243, allocations: 3.938 kB / 495.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1245, allocations: 27.86 kB / 495.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1245, allocations: 4 kB / 495.4 MB, free: 4.621 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.0001322/0.1246, allocations: 141.8 kB / 495.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1247, allocations: 11.91 kB / 495.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.1247, allocations: 25.39 kB / 495.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1247, allocations: 4 kB / 495.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1248, allocations: 0 / 495.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1248, allocations: 3.938 kB / 495.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1251, allocations: 224.6 kB / 495.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1251, allocations: 0 / 495.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1252, allocations: 35.91 kB / 495.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1252, allocations: 3.984 kB / 495.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1253, allocations: 4 kB / 495.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1253, allocations: 7.938 kB / 495.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1253, allocations: 0 / 495.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.1259, allocations: 374.8 kB / 496.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.1259, allocations: 15.94 kB / 496.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.126, allocations: 11.94 kB / 496.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1262, allocations: 23.97 kB / 496.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.1262, allocations: 11.98 kB / 496.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1262, allocations: 4 kB / 496.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1266, allocations: 172.4 kB / 496.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1266, allocations: 0 / 496.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1268, allocations: 31.88 kB / 496.5 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.0009157/0.1277, allocations: 0.9037 MB / 497.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1281, allocations: 159.8 kB / 497.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1281, allocations: 4 kB / 497.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1283, allocations: 75.94 kB / 497.6 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.0003144/0.1286, allocations: 16 kB / 497.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.1321, allocations: 2.243 MB / 499.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1325, allocations: 0.7353 MB / 0.4889 GB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.1326, allocations: 32.95 kB / 0.4889 GB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.1327, allocations: 39.42 kB / 0.4889 GB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1327, allocations: 0 / 0.4889 GB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.1664, allocations: 3.645 MB / 0.4925 GB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.17, allocations: 3.938 kB / 0.4925 GB, free: 11.61 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.778665400110185] Failed to read output from testmodel.py, exit status != 0: 11.277552949031815 11.440465518 11.319763264 Calling exit ...