Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.32 MB / 427.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007243/0.116, allocations: 5.803 MB / 432.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.1192, allocations: 1.2 MB / 434.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.1197, allocations: 23.94 kB / 434.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.1201, allocations: 170.4 kB / 434.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.1208, allocations: 281.4 kB / 434.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.1213, allocations: 223.7 kB / 434.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.1226, allocations: 1.06 MB / 435.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.1233, allocations: 410.4 kB / 436.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.1239, allocations: 430.6 kB / 436.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.1245, allocations: 466 kB / 437.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1246, allocations: 100 kB / 437.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1248, allocations: 96 kB / 437.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.125, allocations: 223.2 kB / 437.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.1255, allocations: 0.5015 MB / 438 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1267, allocations: 1.105 MB / 439.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1268, allocations: 0 / 439.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1268, allocations: 0 / 439.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1268, allocations: 11.92 kB / 439.1 MB, free: 8.652 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002151/0.1289, allocations: 1.254 MB / 440.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.129, allocations: 8.031 kB / 440.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.1292, allocations: 152.1 kB / 440.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.1294, allocations: 116.3 kB / 440.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.1302, allocations: 459.4 kB / 441.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.1303, allocations: 74.38 kB / 441.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1304, allocations: 88.38 kB / 441.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.1318, allocations: 0.8715 MB / 442.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1319, allocations: 0 / 442.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.1319, allocations: 44 kB / 442.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.132, allocations: 20 kB / 442.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.133, allocations: 0.5738 MB / 442.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.1376, allocations: 2.962 MB / 445.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.1381, allocations: 270.2 kB / 446 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1385, allocations: 232.8 kB / 446.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1385, allocations: 4 kB / 446.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1385, allocations: 34.56 kB / 446.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.1385, allocations: 4 kB / 446.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001526/0.14, allocations: 0.6512 MB / 446.9 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1401, allocations: 59.34 kB / 447 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2114/0.3514, allocations: 0.509 MB / 447.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3516, allocations: 34.45 kB / 447.5 MB, free: 24.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.3519, allocations: 0.4886 MB / 448 MB, free: 23.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.352, allocations: 165.2 kB / 448.1 MB, free: 23.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.3523, allocations: 135.8 kB / 448.3 MB, free: 23.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3524, allocations: 367.7 kB / 448.6 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3527, allocations: 169.8 kB / 448.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3532, allocations: 451.5 kB / 449.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.3539, allocations: 0.6465 MB / 449.9 MB, free: 22.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3539, allocations: 4.531 kB / 449.9 MB, free: 22.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001251/0.3552, allocations: 0.7625 MB / 450.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3552, allocations: 8.438 kB / 450.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3552, allocations: 10.47 kB / 450.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.3555, allocations: 81.62 kB / 450.8 MB, free: 22.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.3562, allocations: 203.1 kB / 451 MB, free: 22.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.3578, allocations: 2.006 MB / 453 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.3583, allocations: 91.97 kB / 453 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.3584, allocations: 36 kB / 453.1 MB, free: 20.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.3586, allocations: 212 kB / 453.3 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3587, allocations: 59.08 kB / 453.3 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3588, allocations: 69.58 kB / 453.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3588, allocations: 4.375 kB / 453.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3589, allocations: 6.438 kB / 453.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3589, allocations: 4.312 kB / 453.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.3596, allocations: 0.6386 MB / 454.1 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3596, allocations: 0.9688 kB / 454.1 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.36, allocations: 100.9 kB / 454.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.3603, allocations: 72.45 kB / 454.2 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3603, allocations: 8.281 kB / 454.2 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3619, allocations: 1.983 MB / 456.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3619, allocations: 2.953 kB / 456.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.363, allocations: 0.6602 MB / 456.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3631, allocations: 139.9 kB / 457 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.3632, allocations: 7.375 kB / 457 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3636, allocations: 50.5 kB / 457.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.3637, allocations: 28.92 kB / 457.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3638, allocations: 10.2 kB / 457.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004423/0.3642, allocations: 348.1 kB / 457.5 MB, free: 17.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3642, allocations: 1.062 kB / 457.5 MB, free: 17.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009111/0.3651, allocations: 256.7 kB / 457.7 MB, free: 17.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.3663, allocations: 1.217 MB / 458.9 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3673, allocations: 0.568 MB / 459.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3673, allocations: 1.094 kB / 459.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.3679, allocations: 301.5 kB / 459.8 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.3686, allocations: 117.9 kB / 459.9 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.3759, allocations: 5.481 MB / 465.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.3765, allocations: 0.9311 MB / 466.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.3768, allocations: 71.12 kB / 466.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.3771, allocations: 261.8 kB / 466.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3771, allocations: 0 / 466.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.423, allocations: 12.94 MB / 479.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.27, allocations: 2.781 kB / 479.6 MB, free: 8.035 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.76564936293289] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C7.v'] 11.355343757662922 11.372111208 11.241194066 Calling exit ...