Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001191, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 69.36 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004106/0.1095, allocations: 2.602 MB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1112, allocations: 0.7051 MB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1115, allocations: 4 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1118, allocations: 43.58 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1122, allocations: 91.25 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1124, allocations: 75.89 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.1129, allocations: 318.6 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1131, allocations: 92.94 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1133, allocations: 111.6 kB / 361.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.1135, allocations: 127.4 kB / 361.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.1135, allocations: 24 kB / 361.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.1136, allocations: 24 kB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1136, allocations: 59.77 kB / 361.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1138, allocations: 139.3 kB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1141, allocations: 287.2 kB / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1141, allocations: 0 / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1141, allocations: 0 / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1141, allocations: 0 / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001024/0.1151, allocations: 0.5654 MB / 362.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1152, allocations: 8.031 kB / 362.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.1153, allocations: 54.73 kB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1154, allocations: 32.56 kB / 362.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1157, allocations: 243.9 kB / 363.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1157, allocations: 16.94 kB / 363.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.1158, allocations: 20.38 kB / 363.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1163, allocations: 236.9 kB / 363.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1163, allocations: 0 / 363.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.1163, allocations: 12 kB / 363.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1164, allocations: 4 kB / 363.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.1168, allocations: 186.2 kB / 363.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1183, allocations: 0.9084 MB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.119, allocations: 226.5 kB / 364.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1193, allocations: 123.2 kB / 364.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1194, allocations: 8 kB / 364.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1194, allocations: 34.56 kB / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1194, allocations: 0 / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001966/0.1214, allocations: 0.5459 MB / 365.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1214, allocations: 63.22 kB / 365.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.1217, allocations: 235.1 kB / 365.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1217, allocations: 25.7 kB / 365.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1219, allocations: 167.8 kB / 366 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.1219, allocations: 51.27 kB / 366 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.122, allocations: 45.61 kB / 366 MB, free: 5.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1222, allocations: 326.8 kB / 366.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1224, allocations: 72.83 kB / 366.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1226, allocations: 107.7 kB / 366.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.123, allocations: 196.2 kB / 366.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.123, allocations: 0 / 366.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009503/0.124, allocations: 342.1 kB / 367.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.124, allocations: 7.984 kB / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.124, allocations: 4 kB / 367.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.1244, allocations: 76.84 kB / 367.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1246, allocations: 39.97 kB / 367.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1276, allocations: 2.009 MB / 369.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.1279, allocations: 35.67 kB / 369.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1279, allocations: 4.062 kB / 369.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001676/0.1281, allocations: 152.1 kB / 369.4 MB, free: 1.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00013/0.1282, allocations: 98.34 kB / 369.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001998/0.1284, allocations: 148.3 kB / 369.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/0.1284, allocations: 4 kB / 369.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004751/0.1289, allocations: 214 kB / 369.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1289, allocations: 8.188 kB / 369.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1289, allocations: 4 kB / 369.9 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.755e-05/0.129, allocations: 28.83 kB / 369.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1292, allocations: 43.86 kB / 369.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1849/0.3141, allocations: 1.409 MB / 371.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3143, allocations: 14.86 kB / 371.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3144, allocations: 9.844 kB / 371.4 MB, free: 18.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.3145, allocations: 195.1 kB / 371.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3146, allocations: 28.53 kB / 371.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.3146, allocations: 22.41 kB / 371.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3146, allocations: 2.625 kB / 371.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3146, allocations: 0.6094 kB / 371.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3146, allocations: 0.7031 kB / 371.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3159, allocations: 0.6195 MB / 372.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3159, allocations: 1.25 kB / 372.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3161, allocations: 29.78 kB / 372.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/0.3164, allocations: 81.39 kB / 372.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3164, allocations: 1.281 kB / 372.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.3187, allocations: 1.924 MB / 374.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3187, allocations: 0 / 374.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.3196, allocations: 440.5 kB / 374.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.3197, allocations: 92.95 kB / 374.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.3198, allocations: 5.734 kB / 374.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.32, allocations: 16.48 kB / 374.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.32, allocations: 16.25 kB / 374.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.32, allocations: 6.375 kB / 374.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3202, allocations: 163.3 kB / 375 MB, free: 16.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3202, allocations: 2.875 kB / 375 MB, free: 16.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005696/0.3208, allocations: 114.2 kB / 375.1 MB, free: 16.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.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 (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.3219, allocations: 0.9756 MB / 376.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.323, allocations: 0.5382 MB / 376.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.323, allocations: 3.938 kB / 376.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.3233, allocations: 207.7 kB / 376.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3237, allocations: 39.52 kB / 376.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.3275, allocations: 2.645 MB / 379.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.3277, allocations: 0.746 MB / 380.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3279, allocations: 21.83 kB / 380.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.328, allocations: 61.98 kB / 380.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.328, allocations: 3.844 kB / 380.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.3576, allocations: 5.328 MB / 385.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.84, allocations: 8.938 kB / 385.7 MB, free: 12.3 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)