Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.744/1.744, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.682/1.682, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005265, allocations: 8 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004556/0.2939, allocations: 2.177 MB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.2963, allocations: 0.8305 MB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.2967, allocations: 11.84 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.742e-05/0.2968, allocations: 27.66 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005619/0.2974, allocations: 79.75 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.2981, allocations: 135.8 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.2988, allocations: 260.1 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.2992, allocations: 144.4 kB / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.2994, allocations: 87.52 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.2996, allocations: 95.36 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.2997, allocations: 8 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.2997, allocations: 8 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.2998, allocations: 39.72 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2999, allocations: 89.52 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.3006, allocations: 495 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3006, allocations: 0 / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3007, allocations: 0 / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.3007, allocations: 0 / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001392/0.3021, allocations: 0.5843 MB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.3022, allocations: 12.03 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.3023, allocations: 62.53 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3025, allocations: 39.53 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.3033, allocations: 366.1 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.3034, allocations: 20.56 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3036, allocations: 36 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3047, allocations: 325.4 kB / 0.593 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3048, allocations: 0 / 0.593 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.3049, allocations: 12 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3049, allocations: 8 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009362/0.3058, allocations: 250 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.3085, allocations: 1.182 MB / 0.5944 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.3094, allocations: 250.8 kB / 0.5947 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.3095, allocations: 8 kB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3095, allocations: 30.56 kB / 0.5947 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.3095, allocations: 0 / 0.5947 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0007789/0.3103, allocations: 323.5 kB / 0.595 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.3104, allocations: 81.11 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.3108, allocations: 324.5 kB / 0.5954 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3108, allocations: 29.7 kB / 0.5954 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.311, allocations: 196.1 kB / 0.5956 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.3112, allocations: 59.19 kB / 0.5957 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.3112, allocations: 4 kB / 0.5957 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3113, allocations: 342.8 kB / 0.596 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.3115, allocations: 87.95 kB / 0.5961 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3119, allocations: 117.1 kB / 0.5962 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3122, allocations: 98.16 kB / 0.5963 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3122, allocations: 0 / 0.5963 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009614/0.3132, allocations: 265.1 kB / 0.5966 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.3134, allocations: 271 kB / 0.5968 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3134, allocations: 4 kB / 0.5968 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3135, allocations: 0 / 0.5968 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.3138, allocations: 35.92 kB / 0.5968 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3138, allocations: 3.984 kB / 0.5969 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.3141, allocations: 39.72 kB / 0.5969 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3141, allocations: 7.953 kB / 0.5969 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3141, allocations: 6.188 kB / 0.5969 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006233/0.3148, allocations: 175.9 kB / 0.5971 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3148, allocations: 0 / 0.5971 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.3148, allocations: 4 kB / 0.5971 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.315, allocations: 23.94 kB / 0.5971 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.315, allocations: 7.984 kB / 0.5971 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.3152, allocations: 27.75 kB / 0.5971 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3153, allocations: 8 kB / 0.5971 GB, free: 8.605 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.3157, allocations: 233.1 kB / 0.5974 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.3158, allocations: 35.52 kB / 0.5974 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3159, allocations: 39.28 kB / 0.5974 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.316, allocations: 0 / 0.5974 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.316, allocations: 3.938 kB / 0.5974 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.316, allocations: 3.984 kB / 0.5974 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.3169, allocations: 405.4 kB / 0.5978 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3169, allocations: 0 / 0.5978 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3172, allocations: 35.92 kB / 0.5979 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3172, allocations: 3.953 kB / 0.5979 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.3172, allocations: 4 kB / 0.5979 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3172, allocations: 4 kB / 0.5979 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3172, allocations: 0 / 0.5979 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.3194, allocations: 454.9 kB / 0.5983 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3196, allocations: 128.8 kB / 0.5984 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.3197, allocations: 16.02 kB / 0.5984 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.32, allocations: 15.98 kB / 0.5985 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.32, allocations: 7.984 kB / 0.5985 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3201, allocations: 4 kB / 0.5985 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004829/0.3206, allocations: 231.1 kB / 0.5987 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3206, allocations: 0 / 0.5987 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007655/0.3214, allocations: 87.59 kB / 0.5988 GB, free: 6.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/0.3232, allocations: 0.9887 MB / 0.5997 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.3242, allocations: 306.1 kB / 0.6 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3242, allocations: 0 / 0.6 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.3247, allocations: 99.91 kB / 0.6001 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.3255, allocations: 81.39 kB / 0.6002 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.3308, allocations: 2.062 MB / 0.6022 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.3314, allocations: 0.7872 MB / 0.603 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.3316, allocations: 26.27 kB / 0.603 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.3319, allocations: 103.4 kB / 0.6031 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.3319, allocations: 4 kB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5347/0.8666, allocations: 6.025 MB / 0.609 GB, free: 48.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.8669, allocations: 180.4 kB / 0.6092 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/4.151, allocations: 3.5 kB / 0.6092 GB, free: 48.34 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: