Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2744/0.2744, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica 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.002344/0.002344, allocations: 84.86 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1177, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002969/0.1207, allocations: 1.72 MB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.1209, allocations: 79.66 kB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.121, allocations: 4 kB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.331e-05/0.121, allocations: 11.86 kB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.1211, allocations: 23.78 kB / 482 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.352e-05/0.1212, allocations: 23.97 kB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1214, allocations: 99.59 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1215, allocations: 59.89 kB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.1216, allocations: 47.86 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.1217, allocations: 39.84 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1217, allocations: 12 kB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.1217, allocations: 12 kB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.1218, allocations: 19.92 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.1219, allocations: 63.67 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.122, allocations: 119.8 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.122, allocations: 0 / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.122, allocations: 0 / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.122, allocations: 0 / 482.5 MB, free: 2.773 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005004/0.1225, allocations: 403.4 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1226, allocations: 8.031 kB / 482.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.1226, allocations: 46.73 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1227, allocations: 12.84 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1228, allocations: 168.3 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1228, allocations: 12.61 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1229, allocations: 12.38 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1231, allocations: 125.6 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1231, allocations: 7.938 kB / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1231, allocations: 4 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1231, allocations: 4 kB / 483.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1233, allocations: 63.91 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.1241, allocations: 0.7273 MB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.1242, allocations: 165.1 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1243, allocations: 80.14 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.1243, allocations: 79.28 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.1244, allocations: 117.8 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1244, allocations: 0 / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.1244, allocations: 33.55 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.1245, allocations: 130.7 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1247, allocations: 145.8 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1247, allocations: 29.7 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.1248, allocations: 123.6 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.1248, allocations: 0 / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1248, allocations: 21.72 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.125, allocations: 318.8 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.125, allocations: 11.98 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.1251, allocations: 45.16 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.294e-05/0.1251, allocations: 53.06 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1252, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001808/0.1253, allocations: 81.47 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1254, allocations: 10.28 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1254, allocations: 7.984 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1254, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.1255, allocations: 12 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1255, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1256, allocations: 15.78 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1256, allocations: 4.125 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001306/0.1257, allocations: 201.1 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.1258, allocations: 101 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.1259, allocations: 116.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-05/0.1259, allocations: 180.2 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.197e-05/0.126, allocations: 180.3 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.413e-05/0.1261, allocations: 184.3 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.1264, allocations: 445.1 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/0.1265, allocations: 105 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.1265, allocations: 104.9 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-05/0.1266, allocations: 184.2 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.1267, allocations: 184.2 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.1268, allocations: 176.3 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.976e-05/0.1269, allocations: 180.2 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1271, allocations: 315.6 kB / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1272, allocations: 189.9 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.94e-05/0.1273, allocations: 192.3 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.1274, allocations: 101 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.1275, allocations: 180.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.1275, allocations: 108.9 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.1277, allocations: 115.2 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1277, allocations: 0 / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1279, allocations: 15.94 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004755/0.1284, allocations: 0.8086 MB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.1285, allocations: 23.92 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1285, allocations: 384 / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1285, allocations: 4 kB / 489.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.129, allocations: 459.6 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1305, allocations: 1.584 MB / 491.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1308, allocations: 0.6996 MB / 492.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.1309, allocations: 4 kB / 492.6 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1309, allocations: 31.42 kB / 492.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1309, allocations: 0 / 492.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.153, allocations: 1.577 MB / 494.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.088, allocations: 1.078 kB / 494.2 MB, free: 6.469 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1)